1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
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
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
|
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">
<chapter>
<header>
<copyright>
<year>2009</year><year>2017</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</legalnotice>
<title>wxErlang Release Notes</title>
<prepared>otp_appnotes</prepared>
<docno>nil</docno>
<date>nil</date>
<rev>nil</rev>
<file>notes.xml</file>
</header>
<p>This document describes the changes made to the wxErlang
application.</p>
<section><title>Wx 1.8.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
wx crashes in otp 20.1 if empty binaries was sent down as
arguments.</p>
<p>
Own Id: OTP-14688</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.8.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Do not deprecate
<c>wxGraphicsContext:createLinearGradientBrush/7</c> and
<c>wxGraphicsContext:createRadialGradientBrush/8</c>
which are still available in wxWidgets-3.0.</p>
<p>
Own Id: OTP-14539</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
General Unicode improvements.</p>
<p>
Own Id: OTP-14462</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.8.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix a livelock that could be caused by <c>wx:batch/1</c>.</p>
<p>
Own Id: OTP-14289</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.8</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Allow string arguments to be binaries as specified, i.e.
unicode:chardata().</p>
<p>
Own Id: OTP-13934 Aux Id: ERL-270 </p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Add wxWindow:dragAcceptFiles/2 and wxDropFilesEvent to
support simple drag and drop from file browser.</p>
<p>
Own Id: OTP-13933</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.7.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Increased the stacksize for the wx thread. The default
stacksize on Windows is 1MB which is not enough if the
user created many nested dialogs.</p>
<p>
Own Id: OTP-13816</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.7</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed bugs which could cause called functions to be
invoked twice or not at all when callbacks where invoked
at the same time.</p>
<p>
Own Id: OTP-13491</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Changed atom 'boolean' fields in #wxMouseState{} to
'boolean()'.</p>
<p>
Moved out arguments in wxListCtrl:hitTest to result.</p>
<p>
Removed no-op functions in wxGauge that have been removed
from wxWidgets-3.1.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-13553</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.6.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed commands with multiple binaries, such as
<c>wxImage:new/4</c>. Added
<c>wxWindow:SetDoubleBuffered/1</c>,
<c>wxWindow:isDoubleBuffered/1</c>,
<c>wxWindow:setTransparent/2</c> and
<c>wxWindow:canSetTransparent/1</c>. Fixed timing issues.</p>
<p>
Own Id: OTP-13404</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.6</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Add wxOverlay and make wxPostScripDC optional to make
it easier to build on windows.</p> <p>Correct some
function specifications.</p> <p>The driver implementation
have been optimized and now invokes commands after events
have been sent to erlang.</p>
<p>
Own Id: OTP-13160</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.5</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Extend AUI functionality.</p>
<p>
Own Id: OTP-12961</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.4</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The undocumented option <c>generic_debug</c> for
<c>gen_server</c> has been removed.</p>
<p>
Own Id: OTP-12183</p>
</item>
<item>
<p>
Remove raise condition where <c>wx</c> could crash during
emulator stoppage.</p>
<p>
Own Id: OTP-12734</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Use wxWidgets-3.0, if found, as default backend on
windows.</p>
<p>
Own Id: OTP-12632</p>
</item>
<item>
<p>
Add missing fields in some events records. May require a
recompilation of user applications.</p>
<p>
Own Id: OTP-12660</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.3.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix timing related crash during wx application stop.</p>
<p>
Own Id: OTP-12374</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.3.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed a minor typo in the graphicsContext example.</p>
<p>
Own Id: OTP-12259</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Distribute <c>autoconf</c> helpers to applications at
build time instead of having multiple identical copies
committed in the repository.</p>
<p>
Own Id: OTP-12348</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.3.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Implement --enable-sanitizers[=sanitizers]. Similar to
debugging with Valgrind, it's very useful to enable
-fsanitize= switches to catch bugs at runtime.</p>
<p>
Own Id: OTP-12153</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>Fix delayed destroy for wxPaintDC objects which could
cause an eternal loop for modal dialogs.</p> <p>Fix
wxSL_LABELS compatibility between wxWidgets-2.8 and
wxWidgets-3.0 versions</p>
<p>
Own Id: OTP-11985</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Add missing classes wxPopup[Transient]Window,
wxActivateEvent and wxTextCtrl:cahngeValue/2 function.</p>
<p>
Own Id: OTP-11986</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Refactored C++ code, fixed crashes and a deadlock on
linux.</p>
<p>
Own Id: OTP-11586</p>
</item>
<item>
<p>
Some local implementations of removing the last element
from a list are replaced by <c>lists:droplast/1</c>. Note
that this requires at least <c>stdlib-2.0</c>, which is
the stdlib version delivered in OTP 17.0. (Thanks to Hans
Svensson)</p>
<p>
Own Id: OTP-11678</p>
</item>
<item>
<p>
Reworked the internal event handling to avoid crashes in
destroy objects. Thanks Tom for the bug report.</p>
<p>
Own Id: OTP-11699</p>
</item>
<item>
<p>
Application upgrade (appup) files are corrected for the
following applications: </p>
<p>
<c>asn1, common_test, compiler, crypto, debugger,
dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe,
inets, observer, odbc, os_mon, otp_mibs, parsetools,
percept, public_key, reltool, runtime_tools, ssh,
syntax_tools, test_server, tools, typer, webtool, wx,
xmerl</c></p>
<p>
A new test utility for testing appup files is added to
test_server. This is now used by most applications in
OTP.</p>
<p>
(Thanks to Tobias Schlager)</p>
<p>
Own Id: OTP-11744</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.1.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed a problem which caused the debugger to crash when
closing a window. Fixed static linking on mac.</p>
<p>
Own Id: OTP-11444</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.1.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
wx initialization hanged with wxWidgets-3.0 on mac. Fixed
a crash with wxListBox on wxWidgets-3.0 (thanks Sergei
Golovan) Fixed documentation links. Fixed event callbacks
cleanup.</p>
<p>
Own Id: OTP-11393</p>
</item>
<item>
<p>
Improve documentation (Thanks to Boris Mühmer)</p>
<p>
Own Id: OTP-11505</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Fix silent make rules (Thanks to Anthony Ramine)</p>
<p>
Own Id: OTP-11515</p>
</item>
</list>
</section>
</section>
<section><title>Wx 1.0</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Add {silent_start, boolean()} option to wx:new/1 in order
to be able to suppress error messages during startup of
wx. (Thanks to Håkan Mattsson)</p>
<p>
Own Id: OTP-10585</p>
</item>
<item>
<p>
Fix wxTreeCtrl:getBoundingRect/2 and
wxTreeCtrl:hitTest/1. wxTreeCtrl:hitTest now returns a
tuple not bug compatible with previous releases but
needed.</p>
<p>
Own Id: OTP-10743</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
The wx application now compiles and is usable with the
unstable development branch of wxWidgets-2.9. Some
functions are currently not available in wxWidgets-2.9
and their erlang counterparts are marked as deprecated.
They will generate an error if called when linked against
wxWidgets-2.9 libraries. This means that wx can now be
built on 64bit MacOsX, but keep in mind that
wxWidgets-2.9 is still a development branch and needs (a
lot) more work before it becomes stable.</p>
<p>
Own Id: OTP-10407 Aux Id: kunagi-262 [173] </p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.99.2</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Fix errors in wxDC and wxGraphicsContext api.</p>
<p>Add wxTaskBarIcon.</p> <p>Add
wxStyledTextControl:setEdgeMode/2.</p> <p>Add type and
specs for all functions and records.</p>
<p>
Own Id: OTP-9947</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.99.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed a deadlock in the driver, which could happen if a
callback caused another callback to be invoked.</p>
<p>
Own Id: OTP-9725</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Implemented wxSystemOptions.</p>
<p>
Load Opengl from libGL.so.1 instead libGL.so to work
around linux problems.</p>
<p>
Own Id: OTP-9702</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.99</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
wx: fix obsolete guard warning (list/1) (Thanks to Tuncer
Ayaz)</p>
<p>
Own Id: OTP-9513</p>
</item>
<item>
<p> XML files have been corrected. </p>
<p>
Own Id: OTP-9550 Aux Id: OTP-9541 </p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Support virtual tables in wxListCtrl.</p>
<p>
Own Id: OTP-9415</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.10</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed wx app files on mac and solaris. Thanks Jachym
Holecek and Joe Williams.</p>
<p>
Own Id: OTP-9324</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.9</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>Wx crashed if graphics could not be initiated, for
instance if DISPLAY was not available.</p> <p>Wx could
crash during startup, thanks Boris Muhmer for extra
ordinary testing.</p>
<p>
Own Id: OTP-9080</p>
</item>
<item>
<p>
Wx on MacOS X generated complains on stderr about certain
cocoa functions not beeing called from the "Main thread".
This is now corrected.</p>
<p>
Own Id: OTP-9081</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.8</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Add wxSystemSettings which was missing in the previous
release, despite previous comments.</p> <p>Fix an
external loop when stopping erlang nicely.</p>
<p>Separate OpenGL to it's own dynamic loaded library, so
other graphic libraries can reuse the gl module and it
will not waste memory if not used.</p>
<p>
Own Id: OTP-8951</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.7</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix crash (segmentation fault) in callback handling.</p>
<p>
Own Id: OTP-8766</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Add wxSystemSettings module.</p>
<p>
Add wxTreeCtrl:editLabel/2.</p>
<p>
Own Id: OTP-8767</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.6</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Calling <c>sys:get_status()</c> for processes that have
globally registered names that were not atoms would cause
a crash. Corrected. (Thanks to Steve Vinoski.)</p>
<p>
Own Id: OTP-8656</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.5</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Corrected incorrectly generated wxFileDialog:getPaths/1.
Reported by Jason/hornja.</p>
<p>
Own Id: OTP-8330</p>
</item>
<item>
<p>
Fixed a memory reference bug which caused unexplained
{badarg, Int} exits when running multiple wx
applications.</p>
<p>
Own Id: OTP-8461</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Added <c>wxListCtrl:getEditCtrl/1</c> (not available on
Mac).</p>
<p>
Own Id: OTP-8408</p>
</item>
<item>
<p>
Cleanups suggested by tidier and modernization of types
and specs.</p>
<p>
Own Id: OTP-8455</p>
</item>
<item>
<p> Changed representation of wxTreeItem to be an
integer. This saves memory, where the driver do not need
to keep a object reference to each tree item. </p> <p>
Added getFirstChild and getNextChild to wxTreeCtrl.</p>
<p>
Own Id: OTP-8462</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.4</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Added wx_object improvements from Mazen.</p> <p>Fixed
pid issues, reported by Mazen.</p> <p>Added wxLogNull
class, reported by Amit Murthy.</p> <p>Various configure
fixes.</p>
<p>
Own Id: OTP-8243 Aux Id: seq11418 </p>
</item>
<item>
<p>
The documentation is now built with open source tools
(xsltproc and fop) that exists on most platforms. One
visible change is that the frames are removed.</p>
<p>
Own Id: OTP-8250</p>
</item>
<item>
<p>
wx now builds with wxWidgets 2.8.4 or a later 2.8
release, thanks Nico Kruber.</p>
<p>
Own Id: OTP-8292</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Added wxListCtrl sorting and build fixes supplied by Paul
Hampson. Thanks.</p>
<p>
Own Id: OTP-8126</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>wxHtmlWindow class implemented.</p> <p>All exceptions
from callbacks are now catched and written to the
log.</p> <p>Some defines where wrong in 'wx.hrl'.</p>
<p><c>wx:batch/1</c> and friends could hang forever if
for instance a breakpoint was set inside the fun. That
caused all wx applications to hang.</p> <p>Added missing
wxAuiPaneInfo constructor and destructor.</p> <p>Added
wxAuiNotebookEvent and wxAuiManagerEvent.</p> <p>Calling
non supported wxWidgets functions hanged instead of
crashed.</p> <p>Update OpenGL to version 3.1 and added
some of the missing glu functions.</p> <p>Fixed
wxRadioBox which inherited the wrong class, thanks Atilla
Erdodi.</p>
<p>
Own Id: OTP-8083</p>
</item>
<item>
<p>
Removed some of the automatic garbage collecting after
application exit, user will get a warning instead so he
can correct the code.</p>
<p>
Own Id: OTP-8138</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.2</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Olle Mattson have made a large demo, see
<c>examples/demo/</c>, that triggered the following bugs
and new features:</p> <p>New book controls.</p> <p>Added
wxToolbar:addTool/6.</p> <p>Empty binaries will be used
to indicate NULL where applicable.</p>
<p>
Own Id: OTP-7943</p>
</item>
<item>
<p>Applied patch from Nico Kruber,
which fixes building on some wxwidgets installations.
</p>
<p>Open source</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98.1</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Added <c>xrcctrl/3</c> to wxXmlResource and added a
resource example.</p> <p>Added several event types and
events records and fixed a couple of event related
bugs.</p> <p>Event callbacks can now use
<c>wxEvtHandler:connect/2</c>.</p> <p>Error handling and
debugging aid have been improved.</p> <p>Added
wxSplitterWindow and wxGauge:pulse and a couple of
missing macros in <c>wx.hrl</c>.</p> <p>Thanks to Steve
Davis for feedback and bug reports.</p>
<p>
Own Id: OTP-7875</p>
</item>
</list>
</section>
</section>
<section><title>Wx 0.98</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
A first beta release of wxErlang.</p>
<p>
Own Id: OTP-7859</p>
</item>
</list>
</section>
</section>
</chapter>
|