Newer
Older
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="changes">
<title>Change History</title>
<simplesect>
<title>Changes For Version 1.6.19 (February 28, 2009)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The previous release of FXRuby couldn't be built from source against Ruby 1.9.1 final
due to a change in some of the file-related utility libraries
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=23786&group_id=300&atid=1223">RubyForge
Bug #23786</ulink>). This problem has been corrected.</para>
</listitem>
<listitem>
<para>The previous release of FXRuby couldn't be built from source against Ruby versions 1.8.5 or
earlier (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=23967&group_id=300&atid=1223">RubyForge
Bug #23967</ulink>). This problem has been corrected.</para>
</listitem>
<listitem>
<para>The <methodname>addAccel</methodname> method for the <classname>FXAccelTable</classname> class
now accepts lambda functions (or any other objects that respond to <methodname>call</methodname>). See
the <ulink url="http://www.fxruby.org/doc/api/classes/Fox/FXAccelTable.html">API documentation</ulink>
for <classname>FXAccelTable</classname> for examples of how this works.</para>
</listitem>
</itemizedlist>
</simplesect>
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<simplesect>
<title>Changes For Version 1.6.18 (December 29, 2008)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Some users were having trouble building FXRuby on 64-bit operating systems
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=23375&group_id=300&atid=1223">RubyForge
Bug #23375</ulink>). This problem has been corrected.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.17 (December 24, 2008)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The Ruby interpreter was generating a large number of warning messages about redefined methods
in the <filename>kwargs.rb</filename> library
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=19231&group_id=300&atid=1223">RubyForge
Bug #19231</ulink> and elsewhere). This problem has been corrected.</para>
</listitem>
<listitem>
Due to recent changes in Ruby's garbage collection algorithm, FXRuby applications could under some circumstances
crash for large numbers of table items
(see RubyForge bugs <ulink url="http://rubyforge.org/tracker/index.php?func=detail&aid=21983&group_id=300&atid=1223">21983</ulink> and <ulink url="http://rubyforge.org/tracker/index.php?func=detail&aid=23188&group_id=300&atid=1223">23188</ulink>).
This bug has been fixed.
</listitem>
<listitem>
<para>The documentation for the <classname>FXTable</classname> class referred to the non-existent <methodname>setColumnX</methodname>
and <methodname>setRowY</methodname> instance methods
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=21987&group_id=300&atid=1223">RubyForge
Bug #21987</ulink>). These entries have been removed from the documentation.</para>
</listitem>
<listitem>
<para>A number of instance methods for the <classname>FXTable</classname> class could crash an application if they
were passed out-of-bounds index arguments
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=21987&group_id=300&atid=1223">RubyForge
Bug #21987</ulink>). These methods now raise <classname>IndexError</classname> when they're passed out-of-bounds
indexes.</para>
</listitem>
<listitem>
<para>Due to a change in the URL scheme for the Dilbert web site, the <filename>dilbert.rb</filename> example
program was no longer working properly
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=21538&group_id=300&atid=1223">RubyForge
Bug #21538</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>lower</methodname> method for the <classname>FXRangef</classname> was returning
<constant>self</constant> instead of an <classname>FXVec3f</classname> instance for the range's low
bound
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=22488&group_id=300&atid=1223">RubyForge
Bug #22488</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>Made a number of minor fixes for compatibility with Ruby 1.9.1.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.16 (July 3, 2008)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Historically, if you called <methodname>create</methodname> on a
window before its parent window was created, your application would
crash (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=20702&group_id=300&atid=1223">RubyForge
Bug #20702</ulink> and elsewhere). Now, the code should raise a
<constant>RuntimeError</constant> with a message indicating the
problem.</para>
</listitem>
<listitem>
<para>The message data that the <classname>FXPicker</classname> widget
sends along with its <constant>SEL_CHANGED</constant> and
<constant>SEL_COMMAND</constant> messages wasn't being handled
properly, and as a result, applications using this widget could crash
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=20780&group_id=300&atid=1223">RubyForge
Bug #20780</ulink>). This problem has been fixed.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.15 (June 4, 2008)</title>
<itemizedlist mark="bullet">
<listitem>
<para>FXRuby applications could crash (with a segmentation fault) if
<constant>nil</constant> was passed in as the first argument to
<methodname>FXDialogBox.new</methodname> or
<methodname>FXMainWindow.new</methodname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=14642&group_id=300&atid=1223">RubyForge
Bug #14642</ulink>). These methods now raise an
<constant>ArgumentError</constant> if <constant>nil</constant> is
passed as the first argument.</para>
</listitem>
<listitem>
<para>You should only ever construct one <classname>FXApp</classname>
object per application, but there was no protection against doing so
in the code (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=16275&group_id=300&atid=1223">RubyForge
Bug #16275</ulink>). Now, <methodname>FXApp.new</methodname> will
raise a <classname>RuntimeException</classname> if an
<classname>FXApp</classname> object already exists.</para>
</listitem>
<listitem>
<para>The <filename>babelfish.rb</filename> example program, which
previously depended on an external web service to perform translation
between languages, was broken since that web service no longer exists
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=16962&group_id=300&atid=1223">RubyForge
Bug #16962</ulink>). The example has now been updated to use Dr. Nic's
<ulink url="http://tranexp.rubyforge.org/">Tranexp</ulink> library
instead.</para>
</listitem>
<listitem>
<para>The value of the <constant>MBOX_SAVE_CANCEL_DONTSAVE</constant>
option (for the <classname>FXMessageBox</classname> class) wasn't
wrapped properly and was unusable (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=17094&group_id=300&atid=1223">RubyForge
Bug #17094</ulink>). There was also no constant corresponding to the
<constant>MBOX_CLICKED_DONTSAVE</constant> return value. Both of these
problems have been fixed.</para>
</listitem>
<listitem>
<para>The fields for new <classname>FXHiliteStyle</classname> objects
were uninitialized and as a result sometimes gave unpredictable
results (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=19637&group_id=300&atid=1223">RubyForge
Bug #19637</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>columnHeaderFont</methodname> and
<methodname>rowHeaderFont</methodname> attributes for
<classname>FXTable</classname> weren't implemented properly (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=20142&group_id=300&atid=1223">RubyForge
Bug #20142</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>Ruby 1.8.7 adds a new <methodname>first</methodname> method to
the <classname>Enumerable</classname> module, and this conflicts with
the existing <methodname>first</methodname> method defined in the
<classname>FXWindow</classname> base class for a number of FXRuby
classes which mix in <classname>Enumerable</classname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=20418&group_id=300&atid=1223">RubyForge
Bug #20418</ulink>). This problem has been resolved.</para>
</listitem>
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
<listitem>
<para>Due to a bug in the <filename>extconf.rb</filename> script, the
build was failing for Ruby 1.9.0 (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=20426&group_id=300&atid=1223">RubyForge
Bug #20426</ulink>). This has been fixed.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.14 (March 29, 2008)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Updated the documentation for the <classname>FXImage</classname>
class to indicate which methods call <methodname>render</methodname>
after they're finished, and which ones do not.</para>
</listitem>
<listitem>
<para>Corrected a little typo in the
<filename>gembrowser.rb</filename> example program.</para>
</listitem>
<listitem>
<para>Updated the <filename>dilbert.rb</filename> example program to
use the more popular-and-likely-to-be-installed <ulink
url="http://code.whytheluckystiff.net/hpricot/">Hpricot</ulink> HTML
parser library instead of <ulink
url="http://www.crummy.com/software/RubyfulSoup/">Rubyful
Soup</ulink>.</para>
</listitem>
<listitem>
<para>Re-added the documentation for the
<constant>TOGGLEBUTTON_KEEPSTATE</constant> option, which had
mysteriously disappeared (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2286&group_id=300&atid=1223">RubyForge
Bug #2286</ulink>).</para>
</listitem>
<listitem>
<para>Made a number of minor fixes to support building FXRuby against
Ruby 1.9.</para>
</listitem>
<listitem>
<para>Added a binary gem for OS X. This works with the Ruby that's
included with OS X (Leopard).</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.32 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.13 (November 9, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Calls to the <methodname>extractText</methodname> method for the
<classname>FXTable</classname> class were causing various
memory-related errors on certain platforms (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=15444group_id=300&atid=1223">RubyForge
Bug #15444</ulink>). This problem has been fixed.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.28 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.12 (October 19, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The API documentation for <classname>FXMDIClient</classname>
referred to the non-existent instance method
<methodname>activeChild=</methodname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=10259&group_id=300&atid=1223">RubyForge
Bug #10259</ulink>). This method has been added.</para>
</listitem>
<listitem>
<para>The API documentation for <classname>FXMDIClient</classname>
also referred to the non-existent instance methods
<methodname>getMDIChildFirst</methodname> and
<methodname>getMDIChildLast</methodname>. These entries have been
removed.</para>
</listitem>
<listitem>
<para>The API documentation for <classname>FXMDIChild</classname>
referred to non-existent instance methods
<methodname>getMDINext</methodname> and
<methodname>getMDIPrev</methodname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=10436&group_id=300&atid=1223">RubyForge
Bug #10436</ulink>). The documentation has been corrected.</para>
</listitem>
<listitem>
<para>Added the <parameter>:repeat</parameter> parameter for the
<methodname>addChore</methodname> and
<methodname>addTimeout</methodname> methods. See the documentation for
more details, and <filename>gltest.rb</filename> for an example of its
use.</para>
</listitem>
<listitem>
<para>Corrected a number of minor typos in the API
documentation.</para>
</listitem>
<listitem>
<para>Corrected a typo in the <filename>imageviewer.rb</filename>
example.</para>
</listitem>
<listitem>
<para>Modified the <filename>inputs.rb</filename> example program to
use <methodname>Pipe.read_nonblock()</methodname> instead of
<methodname>Pipe.read()</methodname>.</para>
</listitem>
<listitem>
<para>Fixed a bug in the implementation of the
<methodname>findText</methodname> method for the
<classname>FXText</classname> class, when used with the
<constant>SEARCH_REGEX</constant> option.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.28 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.11 (April 18, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Added <methodname>editable</methodname> as an alias for
<methodname>FXTextField#editable?</methodname>.</para>
</listitem>
<listitem>
<para>Added <methodname>each_child_recursive</methodname> instance
method for the <classname>FXWindow</classname> class. This method
performs a depth-first traversal of the widget tree starting at the
receiver window.</para>
</listitem>
<listitem>
<para>Corrected some errors in the keyword arguments support for the
<classname>FXVec2d</classname>, <classname>FXVec2f</classname>,
<classname>FXVec3d</classname>, <classname>FVec3f</classname>,
<classname>FXVec4d</classname> and <classname>FXVec4f</classname>
classes.</para>
</listitem>
<listitem>
<para>Corrected an error in the keyword arguments support for the
<classname>FXIconDict</classname> class.</para>
</listitem>
<listitem>
<para>Modified the gem specification so that the RDoc generated during
a gem install is consistent with that generated by other methods (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=10035&group_id=300&atid=1223">RubyForge
Bug #10035</ulink>).</para>
</listitem>
<listitem>
<para>Changes to the <filename>iterators</filename> library in version
1.6.6 introduced a bug in the <methodname>each</methodname> method for
the <classname>FXFoldingList</classname>,
<classname>FXTreeList</classname> and
<classname>FXTreeListBox</classname> classes (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=10175&group_id=300&atid=1223">RubyForge
Bug #10175</ulink>). This problem has been fixed.</para>
</listitem>
<listitem>
<para>Applied submitted patches for building FXRuby against Ruby 1.9
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=10181&group_id=300&atid=1223">RubyForge
Bug #10181</ulink>). Please note that building FXRuby against the Ruby
1.9 code base is still officially unsupported; however, I'm glad to
accept patches that will help make this possible.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.25 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.9 (April 8, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>A bug was discovered in the keyword arguments library support
for the <classname>FXMenuBar</classname> class (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=9927&group_id=300&atid=1223">RubyForge
Bug #9927</ulink>). This problem has been fixed.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.25 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.8 (April 5, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Due to an internal bookkeeping error, applications like the
<filename>glviewer.rb</filename> example program which create multiple
<classname>FXGLViewer</classname> instances could cause an assertion
to fail. When this assertion fails on Windows, the program simply
crashes (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=9775&group_id=300&atid=1223">RubyForge
Bug #9775</ulink>). This problem has been fixed.</para>
</listitem>
<listitem>
<para>The keyword arguments library, introduced in version 1.6.5, is
now included automatically when you load FXRuby; it is no longer
necessary to explicitly require it.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.25 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.7 (March 31, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.25 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
<simplesect>
<title>Changes For Version 1.6.6 (February 10, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Somewhere along the way, the RAA browser example program got
broken due to changes in the SOAP interface to RAA (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=7977&group_id=300&atid=1223">RubyForge
Bug #7977</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>Some debugging code that was meant to detect errors in FXRuby
message data conversion was inadvertently causing some user
applications to crash when running under Windows (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=8049&group_id=300&atid=1223">RubyForge
Bug #8049</ulink>). This debugging code has been changed to avoid the
problem.</para>
</listitem>
<listitem>
<para>Modified the implementations of the each iterator methods for
<classname>FXFoldingList</classname>,
<classname>FXFoldingItem</classname>,
<classname>FXTreeItem</classname>, <classname>FXTreeList</classname>
and <classname>FXTreeListBox</classname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=8090&group_id=300&atid=1223">RubyForge
Bug #8090</ulink>). The new implementation is a bit more robust in
terms of modifications (such as deletion) of the iterated-over
elements.</para>
</listitem>
<listitem>
<para>A bug in the new keyword arguments library (introduced in
version 1.6.5) caused the <methodname>initialize</methodname> method
for the <classname>FXDCWindow</classname> class to do the wrong thing
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=8441&group_id=300&atid=1223">RubyForge
Bug #8441</ulink>). This has been corrected.</para>
</listitem>
<listitem>
<para>A different bug in the keyword arguments library caused the
<methodname>initialize</methodname> method for the
<classname>FXFont</classname> class to do the wrong thing (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=8517&group_id=300&atid=1223">RubyForge
Bug #8517</ulink>). This also has been corrected.</para>
</listitem>
<listitem>
<para>Yet another bug in the keyword arguments library broke the part
of the code that used to yield <constant>self</constant> to an
optional block attached to the call to <methodname>new</methodname>
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=8518&group_id=300&atid=1223">RubyForge
Bug #8518</ulink>). This has been corrected.</para>
</listitem>
<listitem>
<para>Most of the FXRuby example programs have been updated to use the
keyword arguments library.</para>
</listitem>
<listitem>
<para>Added a new "virtual" keyword argument
<constant>:padding</constant> that can be used in place of (or in
addition to) the <constant>:padLeft</constant>,
<constant>:padRight</constant>, <constant>:padTop</constant> and
<constant>:padBottom</constant> arguments for a constructor. When a
<constant>:padding</constant> value is passed in to the arguments
hash, that value will be used for any of the four regular padding
values that aren't otherwise specified. See the example programs for,
you know, examples.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.20 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.5 (January 20, 2007)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Clicking outside of the visible cells for an
<classname>FXTable</classname> when there was no current selection
caused the code to raise an exception (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5907&group_id=300&atid=1223">RubyForge
Bug #5907</ulink>). This problem has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>hasTimeout?</methodname> method for the
<classname>FXApp</classname> class was implemented incorrectly (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=7564&group_id=300&atid=1223">RubyForge
Bug #7564</ulink>). This problem has been fixed.</para>
</listitem>
<listitem>
<para>The <classname>FXFoldingList</classname> and
<classname>FXFoldingItem</classname> classes did not have each
iterator methods like most of the other list-based widgets (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=7978&group_id=300&atid=1225">RubyForge
Patch #7978</ulink>). These have been added.</para>
</listitem>
<listitem>
<para>The API documentation for <classname>FXMDIClient</classname>
claimed that <classname>FXScrollArea</classname> was its base class
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=7979&group_id=300&atid=1223">RubyForge
Bug #7979</ulink>). This has been corrected; the base class for
<classname>FXMDIClient</classname> is
<classname>FXComposite</classname>.</para>
</listitem>
<listitem>
<para>There was a small typo in the documentation for the
<classname>FXFoldingList</classname> class options (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=7981&group_id=300&atid=1223">RubyForge
Bug #7981</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>Added preliminary support for keyword-style arguments, as
described in the <ulink
url="http://www.fxruby.org/doc/differences.html">"Differences Between
FOX and FXRuby"</ulink> section of the <ulink
url="http://www.fxruby.org/doc/book.html">FXRuby User's
Guide</ulink>.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.20 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.4 (November 30, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>A change made in Ruby 1.8.5 for cyclic requires led to a problem
that caused the Ruby interpreter to emit a large number of warnings
(see <ulink
url="http://rubyforge.org/tracker/?func=detail&aid=5633&group_id=300&atid=1223">RubyForge
Bug #5633</ulink>). This problem has been fixed.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.16 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.3 (October 27, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Widgets of some classes (namely
<classname>FXTopWindow</classname> and
<classname>FXMDIChild</classname>) weren't properly sending a
<constant>SEL_CLOSE</constant> message to their message targets (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5498&group_id=300&atid=1223">RubyForge
Bug #5498</ulink>). Thanks to a change in FOX version 1.6.16, this
problem has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>getControlFor</methodname> method for the
<classname>FXComboTableItem</classname> class was coded incorrectly
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5906&group_id=300&atid=1223">RubyForge
Bug #5906</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>There was a minor typo in the API documentation for the
<application><classname>FXTriStateButton</classname></application>
class (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5962&group_id=300&atid=1223">RubyForge
Bug #5962</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>each_row</methodname> and
<methodname>each_column</methodname> iterator methods for the
<classname>FXTable</classname> class were incorrectly coded (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=6036&group_id=300&atid=1223">RubyForge
Bug #6036</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>new</methodname> class methods for
<classname>FXColorItem</classname>, <classname>FXDirItem</classname>,
<classname>FXFileItem</classname>,
<classname>FXFoldingItem</classname>,
<classname>FXHeaderItem</classname>,
<classname>FXIconItem</classname>, <classname>FXListItem</classname>
and <classname>FXTreeItem</classname> were all raising exceptions when
a non-<constant>nil</constant> value was passed in for the last
argument (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=6197&group_id=300&atid=1223">RubyForge
Bug #6197</ulink>). A similar problem was present for various instance
methods in the <classname>FXColorList</classname>,
<classname>FXListBox</classname> and
<classname>FXMDIClient</classname> classes. These problems have been
fixed.</para>
</listitem>
<listitem>
<para>A few problems were discovered for the
<filename>inputs.rb</filename> example program (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=6209&group_id=300&atid=1223">RubyForge
Bug #6209</ulink>). These problems have been fixed.</para>
</listitem>
<listitem>
<para>Several instance methods for the <classname>FXTable</classname>
class were not actually present under their documented names (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=6211&group_id=300&atid=1223">RubyForge
Bug #6211</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The build script was not compatible with changes made in the
recently-released FXScintilla 1.71 (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=6313&group_id=300&atid=1223">RubyForge
Bug #6313</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.16 and
FXScintilla version 1.71.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.2 (September 13, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The <methodname>expandTree()</methodname> and
<methodname>collapseTree()</methodname> methods for the
<classname>FXFoldingList</classname> class were incorrectly identified
as <methodname>expandFolding()</methodname> and
<methodname>collapseFolding()</methodname> in the API documentation
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5354&group_id=300&atid=1223">RubyForge
Bug #5354</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <classname>FXDockTitle</classname> class was not supported
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5632&group_id=300&atid=1223">RubyForge
Bug #5632</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXGLCanvas</classname>
class claimed it had a <methodname>shared?</methodname> method, but it
didn't (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5591&group_id=300&atid=1223">RubyForge
Bug #5591</ulink>). Now it does.</para>
</listitem>
<listitem>
<para>The <classname>FXGradientBar</classname> class was not supported
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5746&group_id=300&atid=1223">RubyForge
Bug #5746</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.14 and
FXScintilla version 1.67 (from CVS).</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.7 (September 13, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The <methodname>children</methodname> instance method for the
<classname>FXWindow</classname> class always returned an array of
<classname>FXWindow</classname> instances, even if the actual types
should have been instances of subclasses of
<classname>FXWindow</classname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4342&group_id=300&atid=1223">RubyForge
Bug #4342</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <filename>dilbert.rb</filename> example program was broken
due to a change in the Dilbert.com web site structure (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4597&group_id=300&atid=1223">RubyForge
Bug #4597</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>expandTree()</methodname> and
<methodname>collapseTree()</methodname> methods for the
<classname>FXFoldingList</classname> class were incorrectly identified
as <methodname>expandFolding()</methodname> and
<methodname>collapseFolding()</methodname> in the API documentation
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5354&group_id=300&atid=1223">RubyForge
Bug #5354</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <classname>FXDockTitle</classname> class was not supported
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5632&group_id=300&atid=1223">RubyForge
Bug #5632</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXGLCanvas</classname>
class claimed it had a <methodname>shared?</methodname> method, but it
didn't (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5591&group_id=300&atid=1223">RubyForge
Bug #5591</ulink>). Now it does.</para>
</listitem>
<listitem>
<para>The <classname>FXGradientBar</classname> class was not supported
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5746&group_id=300&atid=1223">RubyForge
Bug #5746</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.4.34 and
FXScintilla version 1.63.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.1 (July 21, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The message data sent along for the
<constant>SEL_INSERTED</constant>, <constant>SEL_DELETED</constant>
and <constant>SEL_REPLACED</constant> messages from an a
<classname>FXText</classname> widget to its target was not being
converted properly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4666&group_id=300&atid=1223">RubyForge
Bug #4666</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The code related to the localization of application messages in
FOX wasn't implemented properly in FXRuby, and as a result,
constructing certain dialogs (like the color dialog) could cause a
program to crash (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5000&group_id=300&atid=1223">RubyForge
Bug #5000</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The "Stop Spin" button in the gltest.rb example program didn't
stop the cubes from spinning after either the "Spin Timer" or "Spin
Chore" option was selected (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5001&group_id=300&atid=1223">RubyForge
Bug #5001</ulink>). This was actually a symptom of a larger problem,
that FXRuby wasn't properly handling timers and chores. These problems
have been fixed.</para>
</listitem>
<listitem>
<para>Setting the current item for an
<classname>FXComboBox</classname> to -1 (to indicate that there's no
current item) would cause FXRuby to erroneously raise an
<classname>IndexError</classname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5007&group_id=300&atid=1223">RubyForge
Bug #5007</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The documentation for the <methodname>reparent</methodname>
instance method for the <classname>FXWindow</classname> class was
incorrect (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=5035&group_id=300&atid=1223">RubyForge
Bug #5035</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <filename>textedit.rb</filename> example program was not up
to date with some of the changes for FOX 1.6. This example has been
updated.</para>
</listitem>
<listitem>
<para>The new <methodname>font</methodname> method for the
<classname>FXFont</classname> class was not documented. This has been
fixed.</para>
</listitem>
<listitem>
<para>The <filename>dilbert.rb</filename> example program has been
modified to use the RubyfulSoup HTML library instead of the
html-parser library.</para>
</listitem>
<listitem>
<para>As discussed in various forums (see for example <ulink
url="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/182827">this
post</ulink>), the <methodname>autorequire</methodname> directive for
RubyGems specifications is now deprecated. As a result, this has been
removed from the FXRuby gem specification. This change will break any
code that was using a statement like:<programlisting>require_gem 'fxruby'</programlisting>as
the sole means for loading FXRuby. Such programs should instead
use:<programlisting>require 'fox16'</programlisting>which will work
for either gem based or non-gem based installations.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.8 and
FXScintilla version 1.67 (from CVS).</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.6.0 (May 29, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>This is the first release of FXRuby compatible with FOX version
1.6. One of the most signficant changes for FOX 1.6 has been the
addition of Unicode support; all FOX widgets and internal string
processing routines are now Unicode aware. For a comprehensive
overview of the changes made to FOX since version 1.4 (including those
made in the FOX 1.5 development series), please refer to the <ulink
url="http://www.fox-toolkit.com/news.html">News archives</ulink> at
the FOX web site.</para>
</listitem>
<listitem>
<para>Added the <methodname>allowSide</methodname>,
<methodname>disallowSide</methodname> and
<methodname>allowedSide?</methodname> methods for the
<classname>FXDockBar</classname> class, as complements to the
<methodname>allowedSides</methodname> accessor methods (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2307&group_id=300&atid=1226">RubyForge
Feature Request #2307</ulink>).</para>
</listitem>
<listitem>
<para>Added the <methodname>visible=</methodname> and
<methodname>visible?</methodname> accessor methods for the
<classname>FXWindow</classname> class, as complements to the
<methodname>show</methodname>, <methodname>hide</methodname> and
<methodname>shown?</methodname> methods (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3579&group_id=300&atid=1226">RubyForge
Feature Request #3579</ulink>).</para>
</listitem>
<listitem>
<para>The <filename>browser.rb</filename> example was making use of a
deprecated API (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4325&group_id=300&atid=1223">RubyForge
Bug #4325</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <methodname>children</methodname> instance method for the
<classname>FXWindow</classname> class always returned an array of
<classname>FXWindow</classname> instances, even if the actual types
should have been instances of subclasses of
<classname>FXWindow</classname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4342&group_id=300&atid=1223">RubyForge
Bug #4342</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <filename>dilbert.rb</filename> example program was broken
due to a change in the Dilbert.com web site structure (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4597&group_id=300&atid=1223">RubyForge
Bug #4597</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.6.5 and
FXScintilla version 1.67 (from CVS).</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.6 (April 26, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>FXRuby would not compile properly on some x86-64 systems (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3729&group_id=300&atid=1223">RubyForge
Bug #3729</ulink>). This error has been corrected. Thanks to Javier
Goizueta for initially reporting this problem, and especially to
Tobias Peters for providing a patch.</para>
</listitem>
<listitem>
<para>The <classname>FXIconDict</classname> widget was accidentally
"lost" in the transition between FXRuby versions 1.2 and 1.4 (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4117&group_id=300&atid=1223">RubyForge
Bug #4117</ulink>). This error has been corrected. Thanks to Manfred
Usselmann for reporting this problem.</para>
</listitem>
<listitem>
<para>The <classname>FXSwitcher</classname> widget was not sending the
appropriate message data to its message target for the
<constant>SEL_COMMAND</constant> message type (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4157&group_id=300&atid=1223">RubyForge
Bug #4157</ulink>). This error has been corrected. Thanks to Manfred
Usselmann for reporting this problem.</para>
</listitem>
<listitem>
<para>The <classname>FXSeparator</classname> class wasn't implemented
properly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4158&group_id=300&atid=1223">RubyForge
Bug #4158</ulink>). This error has been corrected. Thanks to Gerard
Menochet for reporting this problem.</para>
</listitem>
<listitem>
<para>The <methodname>findItemByData</methodname> method was
implemented incorrectly for the <classname>FXComboBox</classname>,
<classname>FXFoldingList</classname>,
<classname>FXIconList</classname>, <classname>FXList</classname> and
<classname>FXListBox</classname> classes (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4172&group_id=300&atid=1223">RubyForge
Bug #4172</ulink>). This error has been corrected. Thanks to Gerard
Menochet for reporting this problem.</para>
</listitem>
<listitem>
<para>The <classname>FXListBox</classname> widget was not sending the
appropriate message data to its message target for the
<constant>SEL_COMMAND</constant> message type (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4255&group_id=300&atid=1223">RubyForge
Bug #4255</ulink>). This error has been corrected. Thanks to Gerard
Menochet for reporting this problem.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.4.29 and
FXScintilla version 1.63.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.5 (April 10, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The <classname>FXTextField</classname> class was not properly
responding to the <constant>ID_INSERT_STRING</constant> command (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3320&group_id=300&atid=1223">RubyForge
Bug #3320</ulink>). This error has been corrected. Thanks to Uwe Hartl
for reporting this problem.</para>
</listitem>
<listitem>
<para>The <methodname>text</methodname> and
<methodname>getText</methodname> methods for the
<classname>FXMenuCaption</classname> class were returning
<constant>nil</constant> instead of the actual value (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3458&group_id=300&atid=1223">RubyForge
Bug #3458</ulink>). This error has been corrected. Thanks to Meinrad
Recheis (Henon) for reporting this problem.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXMDIChild</classname>
class erroneously listed <constant>SEL_CLOSEALL</constant> as one of
the message types that an MDI child window might send to its message
target (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3508&group_id=300&atid=1223">RubyForge
Bug #3508</ulink>). This error has been corrected. Thanks to Meinrad
Recheis (Henon) for reporting this problem.</para>
</listitem>
<listitem>
<para>Calling the <methodname>selectRange</methodname> method for
class <classname>FXTable</classname> would cause a fatal error instead
of merely raising an <classname>IndexError</classname> exception (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3615&group_id=300&atid=1223">RubyForge
Bug #3615</ulink>). This error has been corrected. Thanks to Meinrad
Recheis (Henon) for reporting this problem.</para>
</listitem>
<listitem>
<para>Due to an error in the SWIG interface files, the
<classname>FXChoiceBox</classname> class was basically unusable (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3676&group_id=300&atid=1223">RubyForge
Bug #3676</ulink>). This error has been corrected. Thanks to Uwe Hartl
for reporting this problem.</para>
</listitem>
<listitem>
<para>The API documentation for the
<classname>FXRealSlider</classname> and
<classname>FXRealSpinner</classname> classes erroneously claimed that
the message data for the <constant>SEL_COMMAND</constant> and
<constant>SEL_CHANGED</constant> messages sent by these widgets to
their targets were integers (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3749&group_id=300&atid=1223">RubyForge
Bug #3749</ulink>). Along the same lines, the message data for those
widgets wasn't being converted correctly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3750&group_id=300&atid=1223">RubyForge
Bug #3750</ulink>). Both of these errors have been corrected. Thanks
to Meinrad Recheis (Henon) for reporting these problems.</para>
</listitem>
<listitem>
<para>The API documentation for the Fox module incorrectly listed the
names of the <methodname>FXSELTYPE</methodname> and
<methodname>FXSELID</methodname> methods as
<methodname>SELTYPE</methodname> and <methodname>SELID</methodname>
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3940&group_id=300&atid=1223">RubyForge
Bug #3940</ulink>). This error has been corrected. Thanks to Joel
VanderWerf for reporting this problem.</para>
</listitem>
<listitem>
<para>The <classname>FXTableItem</classname> constructor was supposed
to (optionally) accept a reference to an arbitrary Ruby object as its
third argument, but this wasn't working properly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=4005&group_id=300&atid=1223">RubyForge
Bug #4005</ulink>). This error has been corrected. Thanks to Mark
Volkman for reporting this problem.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.4.29 and
FXScintilla version 1.63.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.4 (January 21, 2006)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The build instructions for Unix platforms had not been updated
recently and as such contained some errors (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3014&group_id=300&atid=1223">RubyForge
Bug #3014</ulink>). These errors have been corrected. Thanks to Dave
Burns for reporting this problem.</para>
</listitem>
<listitem>
<para>The <methodname>extendSelection</methodname> method for the
<classname>FXTable</classname> class was raising an exception if an
out of bounds row or column index was passed in (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3050&group_id=300&atid=1223">RubyForge
Bug #3050</ulink>). This has been changed so that
<methodname>extendSelection</methodname> instead returns false for out
of bounds arguments. Thanks to Leonid Moiseichuk for reporting this
problem.</para>
</listitem>
<listitem>
<para>The <methodname>each_child</methodname> iterator method for the
<classname>FXWindow</classname> class would fail if the child window
was destroyed in the block (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3134&group_id=300&atid=1223">RubyForge
Bug #3134</ulink>). Thanks to Liam Irish for reporting this problem
and providing a patch.</para>
</listitem>
<listitem>
<para>The message data for the <constant>SEL_REPLACED</constant>
message sent by the <classname>FXTable</classname> class to its target
was not being handled properly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=3244&group_id=300&atid=1223">RubyForge
Bug #3244</ulink>). There were also problems with the message data for
the <constant>SEL_SELECTED</constant> and
<constant>SEL_DESELECTED</constant> messages. Furthermore, the
<constant>SEL_REPLACED</constant> message was not documented in the
RDoc documentation for the <classname>FXTable</classname> class. All
of these problems have been corrected. Thanks to _blackdog for
reporting this problem.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.4.29 and
FXScintilla version 1.63.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.3 (November 7, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The <constant>TOGGLEBUTTON_KEEPSTATE</constant> option for the
<classname>FXToggleButton</classname> class was not documented (see
<ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2286&group_id=300&atid=1223">RubyForge
Bug #2286</ulink>). This oversight has been corrected. Thanks to Tim
Smith for reporting this problem.</para>
</listitem>
<listitem>
<para>The <filename>scintilla.rb</filename> library file was not up to
date with the latest FXScintilla release, and as a result it was
missing some methods (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2479&group_id=300&atid=1223">RubyForge
Bug #2479</ulink>). This oversight has been corrected. Thanks to Maxim
Kulkin for reporting this problem.</para>
</listitem>
<listitem>
<para>Due to changes in the APIs for timers and chores, the mechanisms
for removing chores and timeouts were broken (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2563&group_id=300&atid=1223">RubyForge
Bug #2563</ulink>). This bug has been fixed. Thanks to "moinker" for
reporting this problem.</para>
</listitem>
<listitem>
<para>An error in the test setup caused all of the tests for the
<classname>FXList</classname> class to fail (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2564&group_id=300&atid=1223">RubyForge
Bug #2564</ulink>). This bug has been fixed. Thanks to Peter for
reporting this problem.</para>
</listitem>
<listitem>
<para>Due to a bug in the test suite runner script, not all test cases
were being exercised (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2565&group_id=300&atid=1223">RubyForge
Bug #2565</ulink>). This bug has been fixed.</para>
</listitem>
<listitem>
<para>Calling the <methodname>getPixel</methodname> method for the
<classname>FXImage</classname> class when the client-side pixel buffer
for the image has already been released would cause a program to crash
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2611&group_id=300&atid=1223">RubyForge
Bug #2611</ulink>). Now, <methodname>getPixel</methodname> will raise
an exception if it's called after the pixel buffer has been released.
The documentation for <methodname>getPixel</methodname> has been
updated accordingly. Thanks to Gonzalo Garramuno for reporting this
problem.</para>
</listitem>
<listitem>
<para>The <methodname>makePositionVisible</methodname> method for the
<classname>FXTable</classname> class was raising an exception when
passed out-of-bounds values for the row or column index (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2660&group_id=300&atid=1223">RubyForge
Bug #2660</ulink>). This could happen, for example, if you were to
click in a table area outside of the regular cells (which indirectly
triggers a call to <methodname>makePositionVisible</methodname>). This
was actually inconsistent with standard FOX behavior, which simply
ignores out of bounds values for that method's arguments. This bug has
been fixed, and the documentation for
<methodname>makePositionVisible</methodname> has been updated
accordingly. Thanks to Ralf Jonas for reporting this problem.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.4.21 and
FXScintilla version 1.63.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.2 (August 22, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Due to a bug in the implementation, the
<methodname>checked?</methodname> method for the
<classname>FXCheckButton</classname> class always returned
<constant>false</constant> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1852&group_id=300&atid=1223">RubyForge
Bug #1852</ulink>). This bug has been fixed. Thanks to Meinrad Recheis
for reporting this problem.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXTable</classname>
class listed several obsolete attributes (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1928&group_id=300&atid=1223">RubyForge
Bug #1928</ulink>). Those errors have been corrected. Thanks to Pavel
Sokolov for reporting these problems.</para>
</listitem>
<listitem>
<para>There were a number of bugs in the
<filename>textedit.rb</filename> example program (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1979&group_id=300&atid=1223">RubyForge
Bug #1979</ulink>), and those bugs have been fixed. Thanks to Claude
Marinier for reporting these problems.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXTreeList</classname>
class' <methodname>new</methodname> method still showed the number of
visible items (<parameter>nvis</parameter>) as its second argument
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2171&group_id=300&atid=1223">RubyForge
Bug #2171</ulink>). This problem has been corrected. Thanks to Bill
Atkins for reporting this problem.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXTopWindow</classname>
class had a number of errors (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2269&group_id=300&atid=1223">RubyForge
Bug #2269</ulink>). This problem has been corrected.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXTreeList</classname>
class still listed the obsolete <methodname>reparentItem</methodname>
method (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2270&group_id=300&atid=1223">RubyForge
Bug #2270</ulink>). This problem has been corrected. Thanks to Jacob
Hansen for reporting this problem.</para>
</listitem>
<listitem>
<para>Due to a bug in how the SWIG typemaps for the
<type>FXlong</type> type were defined, some methods for the
<classname>FXFileStream</classname> class were broken (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=2275&group_id=300&atid=1223">RubyForge
Bug #2275</ulink>). This problem has been corrected. Thanks to Gonzalo
Garramuno for reporting this problem.</para>
</listitem>
<listitem>
<para>Merged in all of the fixes for FXRuby 1.2.6.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.4.17 and
FXScintilla version 1.63.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.1 (August 20, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>This is the second release of FXRuby which is compatible with
FOX 1.4, and as such should be considered an "unstable" release. For a
history of the changes made during the FOX 1.3 and 1.4 development,
see the <ulink url="http://www.fox-toolkit.com/news.html">News</ulink>
page at the FOX Web site.</para>
</listitem>
<listitem>
<para>The unit tests (in the <filename>tests</filename> subdirectory)
had not been updated to require the <constant>fox14</constant>
feature, and were still looking at <constant>fox12</constant>. This
has been corrected.</para>
</listitem>
<listitem>
<para>A number of minor problems were corrected for the Windows build
of FXRuby.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.4.17 and
FXScintilla version 1.63.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.4.0 (August 19, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>This is the first release of FXRuby which is compatible with FOX
1.4, and as such should be considered an "unstable" release. For a
history of the changes made during the FOX 1.3 and 1.4 development,
see the <ulink url="http://www.fox-toolkit.com/news.html">News</ulink>
page at the FOX Web site.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.2.6 (April 15, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Some additional problems related to calling the
<methodname>setTableSize</methodname> method for an
<classname>FXTable</classname> were discovered (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1597&group_id=300&atid=1223">RubyForge
Bug #1597</ulink>). This problem has been corrected. Thanks to Joel
VanderWerf for reporting this problem.</para>
</listitem>
<listitem>
<para>The <filename>iconlist.rb</filename> example program had a
"Sort" pulldown menu filled with a number of commands that didn't
really do anything, including sorting the items (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1654&group_id=300&atid=1223">RubyForge
Bug #1654</ulink>). This pulldown menu has been removed from that
example.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXDC</classname> class
erroneously referred to the <methodname>font</methodname> attribute as
<methodname>textFont</methodname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1667&group_id=300&atid=1223">RubyForge
Bug #1667</ulink>). This problem has been corrected. Thanks to Meinrad
Recheis for reporting this problem.</para>
</listitem>
<listitem>
<para>The <methodname>checked?</methodname>,
<methodname>unchecked?</methodname> and
<methodname>maybe?</methodname> methods for the
<classname>FXMenuCheck</classname> class were missing (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1677&group_id=300&atid=1223">RubyForge
Bug #1677</ulink>). This problem has been corrected. Thanks to Oliver
Smith for reporting this problem.</para>
</listitem>
<listitem>
<para>The API documentation for the
<classname>FXScrollArea</classname> class incorrectly spelled the
names of the <methodname>horizontalScrollBar</methodname> and
<methodname>verticalScrollBar</methodname> methods as
<methodname>horizontalScrollbar</methodname> and
<methodname>verticalScrollbar</methodname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1678&group_id=300&atid=1223">RubyForge
Bug #1678</ulink>). The documentation has been corrected. Thanks to
Jannis Pohlmann for reporting this mistake.</para>
</listitem>
<listitem>
<para>Some code in the <filename>groupbox.rb</filename> example
program was calling the <methodname>getRootWindow</methodname> method,
but that method has been renamed to <methodname>getRoot</methodname>
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1692&group_id=300&atid=1223">RubyForge
Bug #1692</ulink>). This problem has been corrected. Thanks to
Jaroslav Stika for reporting this problem.</para>
</listitem>
<listitem>
<para>The <methodname>hasChar?</methodname> method for the
<classname>FXFont</classname> class was spelled without a trailing
question mark, but it seems more Ruby-like that it should, so we've
added an alias for that (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1714&group_id=300&atid=1223">RubyForge
Bug #1714</ulink>). This method also now accepts a string of size 1
(i.e. a single character) as its input, as an alternative to an
ordinal value. Thanks to Meinrad Recheis for these suggestions.</para>
</listitem>
<listitem>
<para>The API documentation for the <classname>FXImage</classname>
class mistakenly listed <constant>IMAGE_ALPHA</constant> as a valid
image rendering hint, but this flag is no longer needed since FOX
images now always contain an alpha channel (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1715&group_id=300&atid=1223">RubyForge
Bug #1715</ulink>). The documentation has been corrected. Thanks to
Meinrad Recheis for reporting this mistake.</para>
</listitem>
<listitem>
<para>Due to an error in the SWIG interface files, the
<methodname>data</methodname> method for the
<classname>FXSettings</classname> class was not being wrapped
properly. As a result, this method was unavailable and in turn led to
other dependent methods (like <methodname>each_section</methodname>)
to be unavailable as well (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1771&group_id=300&atid=1223">RubyForge
Bug #1771</ulink>). This error has been corrected. Thanks to Jannis
Pohlmann for reporting this problem.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.2.16 and
FXScintilla version 1.62.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.2.5 (March 1, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>The change made for FXRuby version 1.2.4 regarding garbage
collection for table items corrected only one of the problems
described in <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223">RubyForge
Bug #1445</ulink>; There was still a problem related to the
"destructive" effects of the <methodname>setTableSize</methodname>
method for the <classname>FXTable</classname> class. This problem has
now been corrected as well. Thanks to David Peoples, Jamey Cribbs and
Joel VanderWerf for their assistance in helping me to track down this
problem.</para>
</listitem>
<listitem>
<para>The <methodname>extractText</methodname> and
<methodname>overlayText</methodname> methods for the
<classname>FXTable</classname> class were implemented incorrectly and
weren't listed in the API documentation. These problems have been
corrected.</para>
</listitem>
<listitem>
<para>The checks for out-of-bounds indices in the
<methodname>getColumnX</methodname>,
<methodname>setColumnX</methodname>, <methodname>getRowY</methodname>,
<methodname>setRowY</methodname> and
<methodname>updateRange</methodname> methods for the
<classname>FXTable</classname> class were incorrect. These have been
fixed.</para>
</listitem>
<listitem>
<para>The <methodname>setTableSize</methodname> method for the
<classname>FXTable</classname> class now raises
<classname>ArgError</classname> if either the number of rows or
columns passed in as arguments is less than zero.</para>
</listitem>
<listitem>
<para>A typo in one of the source files was causing the build to fail
when compiled against Ruby versions 1.8.1 or earlier (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1551&group_id=300&atid=1223">RubyForge
Bug #1551</ulink>). This error has been corrected. Thanks to Alex
McGuire for reporting this problem.</para>
</listitem>
<listitem>
<para>The <methodname>selectItem</methodname> method for the
<classname>FXTable</classname> class was removed in FOX 1.2, so we've
added a convenience method for this that just calls the
<methodname>selectRange</methodname> method under the hood (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1562&group_id=300&atid=1223">RubyForge
Bug #1562</ulink>). Thanks to Joel VanderWerf for this
suggestion.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.2.13 and
FXScintilla version 1.62.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.2.4 (February 23, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Due to a change in some of the internal Ruby C APIs, a
compile-time error for FXRuby was introduced in some of the Ruby 1.8.2
preview releases (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1039&group_id=300&atid=1223">RubyForge
Bug #1039</ulink>). One should not see any compile-time errors when
compiling FXRuby (versions 1.2.3 or later) against the Ruby 1.8.2
final release, but I've neverthless made a change to how those
internal APIs are used, to avoid any potential problems. Thanks to the
many users who pointed out this problem.</para>
</listitem>
<listitem>
<para>Joel VanderWerf suggested some enhancements to the
<filename>image.rb</filename> example program in order to improve its
startup time (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1281&group_id=300&atid=1223">RubyForge
Bug #1281</ulink>). Those changes have been incorporated. Thanks to
Joel for this suggestion.</para>
</listitem>
<listitem>
<para>One change for the <classname>FXImage</classname> class between
FOX versions 1.0 and 1.2 is the nature of the pixel buffer that's
passed to the <classname>FXImage</classname> constructor. Previously,
this pixel buffer was expected to be a string of bytes; now it's
expected to be an array of <type>FXColor</type> values. This
modification was not implemented correctly for FXRuby versions 1.2.3
and earlier (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1427&group_id=300&atid=1223">RubyForge
Bug #1427</ulink>). This bug has been corrected, and the example
program (<filename>image.rb</filename>) and test cases have been
updated as well. Thanks to Oliver Smith and others for reporting this
problem.</para>
</listitem>
<listitem>
<para>A couple of different problems, reported by Patrick Fernie and
David Peoples, exposed a flaw in how FXRuby manages the links between
FOX objects and their Ruby peers when the FOX objects are destroyed
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1445&group_id=300&atid=1223">RubyForge
Bug #1445</ulink>). Without going into all the gory details, let's
just say that since we have no explicit control over when Ruby's
garbage collector decides to "collect" those Ruby peers that point to
C++ objects that have been destroyed, we need to take steps to
neutralize those Ruby peer objects so that they can't cause your
application to crash in the meantime; I've implemented a fix to take
care of this situation. Thanks to Patrick and David for reporting
these problems.</para>
</listitem>
<listitem>
<para>The API documentation for FXRuby 1.2 still contained references
to the old "spellings" of the <methodname>fxparseAccel</methodname>
and <methodname>fxparseHotKey</methodname> method names, which were
all lowercase (i.e. <methodname>fxparseaccel</methodname> and
<methodname>fxparsehotkey</methodname>). (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1470&group_id=300&atid=1223">RubyForge
Bug #1470</ulink>). These errors have been corrected.</para>
</listitem>
<listitem>
<para>Added the <methodname>FXScrollArea#scrollCorner</methodname>
method, which returns a reference to the scroll corner for any window
derived from <classname>FXScrollArea</classname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=843&group_id=300&atid=1226">RubyForge
Feature Request #1226</ulink>). Thanks to Brian Sheehan for this
suggestion.</para>
</listitem>
<listitem>
<para>Added the <methodname>FXMemoryBuffer#to_a</methodname> method,
which is just an alias for the <methodname>data</methodname> accessor
method that returns a copy of the data buffer as an array (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1295&group_id=300&atid=1226">RubyForge
Feature Request #1295</ulink>). Thanks to Meinrad Recheis for this
suggestion.</para>
</listitem>
<listitem>
<para>Added the <methodname>appendRows</methodname> and
<methodname>appendColumns</methodname> methods to the
<classname>FXTable</classname> class (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1426&group_id=300&atid=1226">RubyForge
Feature Request #1295</ulink>). Thanks to Brett Hallett for this
suggestion.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.2.13 and
FXScintilla version 1.62.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.2.3 (January 22, 2005)</title>
<itemizedlist mark="bullet">
<listitem>
<para>Since group boxes containing radio buttons no longer enforce the
radio behavior of radio buttons (i.e. keeping only one radio button
selected at a time), some of the example programs were no longer
working as desired (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=751&group_id=300&atid=1223">RubyForge
Bug #751</ulink> and <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1280&group_id=300&atid=1223">RubyForge
Bug #1280</ulink>). This problem has been corrected. Thanks to Yuri
Leikind and Barry DeZonia for reporting this problem.</para>
</listitem>
<listitem>
<para>Bob Sidebotham reported a little typo in the
<filename>table.rb</filename> example program (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=990&group_id=300&atid=1223">RubyForge
Bug #990</ulink>). This has been corrected.</para>
</listitem>
<listitem>
<para>The API documentation for <classname>FXList</classname> did not
reflect the changes for FOX 1.2; the
<methodname>retrieveItem()</methodname> has been renamed to
<methodname>getItem()</methodname> and
<methodname>insertItem()</methodname> has been renamed to
<methodname>setItem()</methodname> (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1037&group_id=300&atid=1223">RubyForge
Bug #1037</ulink> and <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1257&group_id=300&atid=1223">RubyForge
Bug #1257</ulink>). This has been corrected. Thanks to Remy Drouilhet
and Stephan Kamper for reporting this problem.</para>
</listitem>
<listitem>
<para>The Windows installer was missing some of the documentation
files (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1139&group_id=300&atid=1223">RubyForge
Bug #1139</ulink>). This has been corrected. Thanks to Curt Hibbs and
Mark Smith for reporting this problem.</para>
</listitem>
<listitem>
<para>The <filename>browser.rb</filename> example program was broken
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1146&group_id=300&atid=1223">RubyForge
Bug #1146</ulink>). This has been corrected. Thanks to Stefan Lang for
reporting this problem.</para>
</listitem>
<listitem>
<para>The attribute setter for
<methodname>FXHeaderItem#justification</methodname> was defined
incorrectly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1276&group_id=300&atid=1223">RubyForge
Bug #1276</ulink>). This has been corrected. Thanks to Joel VanderWerf
for reporting this problem (and providing a patch to fix it).</para>
</listitem>
<listitem>
<para>The <methodname>filenames</methodname> alias for the
<methodname>FXFileDialog#getFilenames()</methodname> instance method
was missing (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1277&group_id=300&atid=1223">RubyForge
Bug #1277</ulink>). This error has been corrected. Thanks to Barry
DeZonia for reporting this problem.</para>
</listitem>
<listitem>
<para>The API documentation for the
<classname>FXFileDialog</classname> class methods
<methodname>getOpenFilenames()</methodname>,
<methodname>getOpenDirectory()</methodname>,
<methodname>getOpenFilename()</methodname> and
<methodname>getSaveFilename()</methodname> was extremely inadequate
(see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1279&group_id=300&atid=1223">RubyForge
Bug #1279</ulink>). This documentation has been improved. Thanks to
Barry DeZonia for reporting this problem.</para>
</listitem>
<listitem>
<para>Brett Hallett contributed a Ruby port of the "ratio" example
program from the regular FOX distribution, for demonstrating the use
of the new <classname>FXSpring</classname> layout manager (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1282&group_id=300&atid=1223">RubyForge
Bug #1282</ulink>). Many thanks to Brett for this addition!</para>
</listitem>
<listitem>
<para>Joel VanderWerf contributed code to simplify how programs
interact with modal and non-modal dialog boxes (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1283&group_id=300&atid=1223">RubyForge
Bug #1283</ulink>). See the API documentation for the new
<methodname>FXDialogBox#execute_modal</methodname> and
<methodname>FXDialogBox#execute_nonmodal</methodname> methods for
examples of their use.</para>
</listitem>
<listitem>
<para>The attribute setters for
<methodname>FXRealSpinner#selBackColor</methodname> and
<methodname>FXSpinner#selBackColor</methodname> were defined
incorrectly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1297&group_id=300&atid=1223">RubyForge
Bug #1297</ulink>). These have been corrected. Thanks to Meinrad
Recheis for reporting this problem.</para>
</listitem>
<listitem>
<para>The <methodname>tooltipPause</methodname> attribute reader for
the <classname>FXApp</classname> class was missing (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1306&group_id=300&atid=1225">RubyForge
Patch #1306</ulink>). Thanks to Joel VanderWerf for reporting this
omission and providing a patch to fix it.</para>
</listitem>
<listitem>
<para>The API documentation for the
<classname>FXToolBarTab</classname> class was missing (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1322&group_id=300&atid=1223">RubyForge
Bug #1322</ulink>). Thanks to Joel VanderWerf for reporting this
omission.</para>
</listitem>
<listitem>
<para>The attribute accessors for
<methodname>FXText#visibleRows</methodname> and
<methodname>FXText#visibleColumns</methodname> were defined and
documented incorrectly (see <ulink
url="http://rubyforge.org/tracker/index.php?func=detail&aid=1325&group_id=300&atid=1223">RubyForge
Bug #1325</ulink>). These have been corrected. Thanks to Karl El-Koura
for reporting this problem.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.2.13 and
FXScintilla version 1.62.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.2.2 (October 1, 2004)</title>
<itemizedlist mark="bullet">
<listitem>
<para>In order to avoid versioning problems when dealing with a mix of
applications based on either FXRuby 1.0 or 1.2, the feature name for
FXRuby has been changed from "fox" to "fox12". For most application
developers, this means that you will need to modify the source code
for applications targeted at FXRuby 1.2 to begin with the line</para>
<para><programlisting>require 'fox12'</programlisting>Note that no
changes should be required for legacy applications targeted at FXRuby
1.0.</para>
</listitem>
<listitem>
<para>Made a number of updates to the documentation, to reflect API
changes for FXRuby 1.2.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.2.9 and
FXScintilla version 1.61.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.2a2 (July 10, 2004)</title>
<itemizedlist mark="bullet">
<listitem>
<para>This is the second "alpha" release of FXRuby 1.2. This release
should be compatible with any FOX library version 1.2; it is not
compatible with any previous FOX library versions. As this is an alpha
release, users should expect a certain amount of instability, bugs,
etc.</para>
</listitem>
<listitem>
<para>For this release, all of the FOX 1.2 classes are available with
the exception of the <classname>FXBitmapView</classname> class. There
is a small problem with how the <classname>FXBitmapView</classname>
class is declared in the FOX 1.2 header files, and I'm trying to
decide how best to resolve that problem. The goal is to have this
problem resolved by the next alpha release of FXRuby.</para>
</listitem>
<listitem>
<para>For this release, all of the RDoc-based online documentation has
been brought up to date with the new APIs.</para>
</listitem>
<listitem>
<para>Portions of the FXRuby User's Guide were still out of date with
respect to the new APIs (see <ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=988623&group_id=20243&atid=120243">SourceForge
Bug #988623</ulink>). This has been fixed.</para>
</listitem>
<listitem>
<para>The <filename>mditest.rb</filename> example program was not up
to date with the new APIs. This has been fixed.</para>
</listitem>
<listitem>
<para>The <filename>glviewer.rb</filename> example program was not up
to date with the new APIs (see <ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=986479&group_id=20243&atid=120243">SourceForge
Bug #986479</ulink>). This has been fixed. Thanks to Remy Drouilhet
for reporting this problem and suggesting the fixes.</para>
</listitem>
<listitem>
<para>The <methodname>FXGLGroup#bounds</methodname> method was defined
incorrectly (see <ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=986476&group_id=20243&atid=120243">SourceForge
Bug #986476</ulink>). This has been fixed. Thanks to Remy Drouilhet
for reporting this problem and suggesting the fix.</para>
</listitem>
<listitem>
<para>The <filename>scintilla-test.rb</filename> example program was
not up to date with the new APIs (see <ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=986172&group_id=20243&atid=120243">SourceForge
Bug #986172</ulink>). This has been fixed. Thanks to Peter Watkins for
reporting this problem and submitting a corrected version of the
program.</para>
</listitem>
<listitem>
<para>There was a small typo in the table.rb example program (see
<ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=988152&group_id=20243&atid=120243">SourceForge
Bug #988152</ulink>). This has been fixed. Thanks to Jamey Cribbs for
reporting this problem and suggesting the fix.</para>
</listitem>
<listitem>
<para>Due to an oversight on my part, one of the overloaded
constructors for the <classname>FXRegion</classname> class wasn't
wrapped properly (see <ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=986181&group_id=20243&atid=120243">SourceForge
Bug #986181</ulink>). This has been fixed. Thanks to Bil Bas for
reporting this problem.</para>
</listitem>
<listitem>
<para>Removed some obsolete aliases for the old leading and trailing
rows and columns for the <classname>FXTable</classname> class (see
<ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=986181&group_id=20243&atid=120243">SourceForge
Bug #988038</ulink>). Thanks to Yuri Leikind for reporting this
problem.</para>
</listitem>
<listitem>
<para>Added <classname>FXTable</classname> instance methods
<methodname>horizontalGridShown=()</methodname> and
<methodname>verticalGridShown=()</methodname> to complement the
already available <methodname>horizontalGridShown?</methodname> and
<methodname>verticalGridShown?</methodname> methods.</para>
</listitem>
<listitem>
<para>The binary gem for the 1.2a1 release on Windows didn't have PNG
or JPEG image support built-in (see <ulink
url="http://sourceforge.net/tracker/index.php?func=detail&aid=986180&group_id=20243&atid=120243">SourceForge
Bug #986180</ulink>). This has been fixed. Thanks to Bil Bas for
reporting this problem.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.2.7 and
FXScintilla version 1.61.</para>
</listitem>
</itemizedlist>
</simplesect>
<simplesect>
<title>Changes For Version 1.2a1 (June 28, 2004)</title>
<itemizedlist mark="bullet">
<listitem>
<para>This is the first "alpha" release of FXRuby 1.2. This release
should be compatible with any FOX library version 1.2; it is not
compatible with any previous FOX library versions. As this is an alpha
release, users should expect a certain amount of instability, bugs,
etc.</para>
<para>The intent of this first alpha release is twofold. The primary
intent is allow application developers who have current projects based
on FXRuby 1.0 to begin the process of updating their applications for
compatibility with FXRuby 1.2. For this release, all of the classes
that existed in FXRuby 1.0 have been updated for compatibility with
FOX 1.2, and so developers should at least be able to begin to "port"
their applications forward now. Note that there have been a number of
changes for FOX 1.2 and FXRuby 1.2, both in terms of API changes and
less obvious "behavioral" changes. For a detailed summary of these
changes, please see <ulink
url="http://www.knology.net/~lyle/fox/1.2/WhatsNew.html">"What's New
in FOX 1.2"</ulink> (also available as a <ulink
url="http://www.knology.net/~lyle/fox/1.2/WhatsNew.pdf">PDF</ulink>).
Note that few, if any, of the new classes introduced in FOX 1.2 are
available in this first alpha release of FXRuby 1.2. Support for those
new classes should come along quickly in subsequent alpha releases of
FXRuby 1.2.</para>
<para>The secondary intent of this first alpha release is to introduce
the new <ulink
url="http://rubygems.rubyforge.org">RubyGems</ulink>-based packaging
of FXRuby and to begin to work out the inevitable kinks in that
system.</para>
</listitem>
<listitem>
<para>The binary gem for Windows was built with FOX version 1.2.4 and
FXScintilla version 1.57.</para>
</listitem>
</itemizedlist>
</simplesect>
</chapter>