-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathReleaseNotes.html
More file actions
1584 lines (1355 loc) · 64.5 KB
/
ReleaseNotes.html
File metadata and controls
1584 lines (1355 loc) · 64.5 KB
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
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
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<style type="text/css">
dt { font-weight: bold; }
h3 { text-decoration: underline; }
dd p { margin-top: 0px; }
</style>
<title>Wt Release notes</title>
</head>
<body>
<h1>Wt Release notes</h1>
This file lists important notes on migrating existing applications to
newer version of Wt. It lists changes in the library that may break
the way you build Wt, the way you configure Wt or the Wt API and
behaviour.
<h2>Release 3.1.4 (Aug 13, 2010)</h2>
<p>
This release several new features, but also a few changes that
break backwards compatibility (but are unlikely to affect an average
application).
</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1WBatchEditProxyModel.html">
WBatchEditProxyModel</a></dt>
<dd>A proxy model that caches editing operations to commit them atomically.
</dd>
<dt><a href="classWt_1_1WHTML5Audio.html">WHTML5Audio</a></dt>
<dd>Audio support using the HTML5 audio tag.</dd>
<dt><a href="classWt_1_1WPdfImage.html">WPdfImage</a></dt>
<dd>A WPaintDevice that writes to Pdf (using libharu).</dd>
<dt><a href="classWt_1_1WRasterImage.html">WRasterImage</a></dt>
<dd>A WPaintDevice that writes to a Png/Gif (using GraphicsMagick).</dd>
<dt>ISAPI connector</dt>
<dd>(Windows only) a connector that implements the Microsoft ISAPI
API, to integrate directly into Microsoft IIS. On Windows, this is
an alternative deployment option next to the built-in httpd.</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt>
<a href="classWt_1_1WAbstractItemView.html">WAbstractItemView</a>
</dt>
<dd>Added support for validators while editing.</dd>
<dt>
<a href="classWt_1_1WApplication.html#88b082dadadd3fb7dbe10887e7d89c91">WApplication</a>
</dt>
<dd>Added an appRoot() method this returns the value of the
special property "approot" which can in some cases be defined
implicitly by a connector (such as ISAPI), and which allows an
application to reference working files whereas previously it was
assumed that they were in the working directory (CWD).</dd>
<dt>
<a href="classWt_1_1WEnvironment.html#fd8726dfa8cabcb49895df4a6112ef48">WEnvironment::agent() and related</a>
</dt>
<dd>Convenience methods that return pre-parsed user agent identification,
should you want to differentiate based on browser.</dd>
<dt>
<a href="classWt_1_1WWidget.html#bb5949e98f47edb7db98d7b6df07a31c">WWidget::addStyleClass()</a>, <a href="classWt_1_1WWidget.html#3b8a35e37ef06c408f346c63a5f1aa8e">WWidget::removeStyleClass()</a>
</dt>
<dd>Added addStyleClass() and removeStyleClass() methods.</dd>
<dt>
<a href="classWt_1_1WMenu.html">WMenu, WMenuItem</a>
</dt>
<dd>Added support for closable and disabled items (not complete,
CSS is lacking for polished theme). Contributed by Dmitriy Igrishin.</dd>
<dt>
<a href="classWt_1_1WModelIndex.html#93c11e136a0fdc596eb745cc7fce7033">WModelIndex</a>
</dt>
<dd>Added support for in-place (destructive) encoding to and
decoding from a raw index, making this less of a hassle for View
classes.</dd>
<dt>
<a href="classWt_1_1WSortFilterProxyModel.html">WSortFilterProxyModel</a>
</dt>
<dd>Added support for row insertion/removal.</dd>
<dt>
<a href="classWt_1_1WSuggestionPopup.html">WSuggestionPopup</a>
</dt>
<dd>Allow usage as an advanced combo-box, with an explicit drop down
button and ability to react to a selection.</dd>
<dt>
<a href="group__dbo.html#gc98c1f90b00ed9ce243c6412da3ac489">Dbo::id()</a>
</dt>
<dd>Support for natural keys (possibly of composite type) next to the
built-in surrogate keys.</dd>
<dt>
<a href="structWt_1_1Dbo_1_1dbo__traits.html">Dbo::dbo_traits<C></a>
</dt>
<dd>By specializing this traits class, you can modify the surrogate id
field name (or disable it), and the optimistic version lock field
name (or disable it).</dd>
<dt>
<a href="classWt_1_1Dbo_1_1Session.html#8712ff0d59f7bb6a4d2986ad9637cc9e">Dbo::Session::query()</a>
</dt>
<dd>More robust query parsing (of the 'select' part), including
support for "select distinct".</dd>
<dt>
<a href="classWt_1_1Dbo_1_1QueryModel.html">Dbo::QueryModel</a>
</dt>
<dd>Added editing support (editing the model will modify the queried
dbo's).</dd>
<dt>
<a href="structWt_1_1Dbo_1_1query__result__traits.html">Dbo::query_result_traits<C></a>
</dt>
<dd>Added setValue(), create(), add() and remove() methods for modifying
queried results.</dd>
</dl>
<h3>C) Changes that break existing applications:</h3>
<dl>
<dt><a href="structWt_1_1Dbo_1_1Dbo.html">Dbo::Dbo</a></dt>
<dd>
This class is now a templated with the class name itself, in
order to provide the proper type for the (natural or surrogate) id
field for id(). You will need to replace
<pre>
class User : public Wt::Dbo { ... }
</pre>
with
<pre>
class User : public Wt::Dbo<User> { ... }
</pre>
</dd>
<dt>CSS</dt>
<dd>The toplevel container used by Wt is now given a <tt>position:
relative</tt> style; this was needed to be able to position widgets
(such as popups) using <tt>position: absolute</tt>, but may break
application layouts. You can override this CSS style by adding
<tt>.Wt-domRoot { position: static; }</tt> to your application's
(internal or external) stylesheet.
</dd>
</dl>
<hr />
<h2>Release 3.1.3 (May 20, 2010)</h2>
<p>
This release several new features, but also a few changes that
break backwards compatibility (but are unlikely to affect an average
application).
</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1SignalBase.html">SignalBase</a>,
<a href="classWt_1_1EventSignalBase.html">EventSignalBase</a></dt>
<dd>Abstract base classes for signals (these are not actually new,
but they were not yet part of the API).</dd>
<dt><a href="classWt_1_1WHTML5Video.html">WHTML5Video</a></dt>
<dd>Video support using the HTML5 video tag (work-in-progress).</dd>
<dt><a href="classWt_1_1Dbo_1_1Call.html">Dbo::Call</a></dt>
<dd>Class for executing a database call.</dd>
<dt><a href="classWt_1_1Dbo_1_1SqlConnectionPool.html">
Dbo::SqlConnectionPool</a>,
<a href="classWt_1_1Dbo_1_1FixedSqlConnectionPool.html">
Dbo::FixedSqlConnectionPool</a></dt>
<dd>Connection pool interface and implementation.</dd>
<dt><a href="classWt_1_1Dbo_1_1QueryModel.html">Dbo::QueryModel</a></dt>
<dd>An tabular item model for query results.</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1WAbstractItemDelegate.html">WAbstractItemDelegate</a></dt>
<dd>Added methods for editing: editState(), setEditState(),
setModelData() and closeEditor().</dd>
<dt><a href="classWt_1_1WAbstractItemView.html">WAbstractItemView</a></dt>
<dd><div>New editing API: edit(), closeEditor(), saveEditedValue(),
setEditOptions(), setEditTriggers().</div>
<div>Graceful degradation support using a paging navigation bar, which
may be customized by reimplementing createPageNavigationBar().</div>
</dd>
<dt><a href="classWt_1_1WCalendar.html">WCalendar</a>, <a href="classWt_1_1WDatePicker.html">WDatePicker</a></dt>
<dd>Added setBottom() and setTop() methods to specify a valid range.</dd>
<dt><a href="classWt_1_1WInteractWidget.html">WInteractWidget</a></dt>
<dd>Added a mouseDragged() event for responding to mouse moves while
a mouse button is down.</dd>
<dt><a href="classWt_1_1WItemDelegate.html">WItemDelegate</a></dt>
<dd>Implements editing using a WLineEdit.</dd>
<dt><a href="classWt_1_1WMenu.html">WMenu</a></dt>
<dd>Can now be used without a contents stack.</dd>
<dt><a href="classWt_1_1WSuggestionPopup.html">WSuggestionPopup</a></dt>
<dd>Added API to support dynamic server-side filtering.</dd>
<dt><a href="classWt_1_1WTableView.html">WTableView</a></dt>
<dd>New implementation which supports horizontal and vertical
virtual scrolling, column resizing, drag and drop, etc... like
WTreeView.</dd>
<dt><a href="classWt_1_1Chart_1_1WPieChart.html">Chart::WPieChart</a></dt>
<dd>Supports now also a shadow effect.</dd>
<dt><a href="classWt_1_1Dbo_1_1collection.html">Dbo::collection</a></dt>
<dd>A find() method has been added to refine the query of a many-side relational.</dd>
<dt><a href="classWt_1_1Dbo_1_1ptr.html">Dbo::ptr</a></dt>
<dd>A version() method returns the current version.</dd>
<dt><a href="classWt_1_1Dbo_1_1Query.html">Dbo::Query</a></dt>
<dd>An extra template parameter specifies a binding strategy. The
default binding strategy is DynamicBinding, which allows reuse of
the query object, and provides new API to modify the query:
where(), orderBy(), groupBy(), offset(), limit().</dd>
<dt><a href="classWt_1_1Dbo_1_1Session.html">Dbo::Session</a></dt>
<dd>Added support for use with a connection pool. Added execute()
method to execute an SQL statement.</dd>
<dt>Built-in httpd</dt>
<dd>Support for HTTP Range header and partial content servering.</dd>
</dl>
<h3>C) Changes that break existing applications:</h3>
<dl>
<dt><a href="structWt_1_1Dbo_1_1query__result__traits.html">Dbo::sql_result_traits</a></dt>
<dd>This traits class has been renamed to query_result_traits and
its API has changed considerably. This will only impact when you
have implemented a custom traits specialization. The getColumns()
method has been replaced with a getFields() method, and the
loadValues() method has been renamed to load(). A getValues()
method has been added which provides conversion to boost::any's.
</dd>
<dt><a href="classWt_1_1WTableView.html">WTableView</a></dt>
<dd>This View class was reimplemented to have functionality
comparable to WTreeView. In the process, we had to abandon the
underlying <table> representation because of rendering
issues with Chrome (of all browsers!), although the WTableView
documentation specifically promised that we would keep this.
</dd>
</dl>
<hr />
<h2>Release 3.1.2 (March 26, 2010)</h2>
<p>This release contains mostly bug fixes, and a few new features.</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1WShadow.html">WShadow</a></dt>
<dd>Class representing a drop shadow effect (see below).</dd>
<dt><a href="classWt_1_1Dbo_1_1backend_1_1Postgres.html">Dbo/backend/Postgres</a></dt>
<dd>A Postgres backend has landed, contributed by Hilary Cheng.</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1WBoxLayout.html">WBoxLayout</a>, <a href="classWt_1_1WGridLayout.html">WGridLayout</a></dt>
<dd>Addition of horizontal and vertical splitter support (resize handles to
allow the user to adjust the layout), sponsored by Eurofer. The new API
methods are <a href="classWt_1_1WBoxLayout.html#00bdfb4d442bd8e8ad9c33b72692763f">setResizable()</a>, <a href="classWt_1_1WGridLayout.html#180c33a8f9e21a7b58f12e055fdb469e">setColumnResizable()</a> and <a href="classWt_1_1WGridLayout.html#6028853eb5a66d868323d0e034b69390">setRowResizable()</a></dd>
<dt><a href="classWt_1_1WCalendar.html">WCalendar</a></dt>
<dd>Improved the API to allow custom cell rendering, and custom handling
of selection. We have also made the API for selection consistent with other
widgets (like WTreeView), deprecating the old API.</dd>
<dt><a href="classWt_1_1WDateTime.html">WDateTime</a></dt>
<dd>Added <a href="classWt_1_1WDateTime.html#0d7f04bacc6ea6534bc61ec7305a8262">toPosixTime()</a> and <a href="classWt_1_1WDateTime.html#eb5f093554829688b36640f0977da541">fromPosixTime()</a> methods to interoperate with
<tt>boost::posix_time::ptime</tt>.</dd>
<dt><a href="classWt_1_1WFormWidget.html">WFormWidget</a></dt>
<dd>Added a <a href="classWt_1_1WFormWidget.html#92de7a4d9ca6796607dc9fd26f608436">setEmptyText()</a> method to implement a label inside a line edit or text area.</dd>
<dt><a href="classWt_1_1WPainter.html">WPainter</a></dt>
<dd>Added a <a href="classWt_1_1WPainter.html#9c727b82879ab055f3fcf4c9cdfc1f8d">setShadow()</a> method which defines a drop shadow to be used for subsequent
drawing actions.</dd>
<dt><a href="classWt_1_1WResource.html">WResource</a></dt>
<dd>Added a <a href="classWt_1_1WResource.html#06bb9dbe3ae195c320cfed7b062d448a">setInternalPath()</a> method which allow a resource to be deployed at a deterministic and "pretty" URL.</dd>
<dt><a href="classWt_1_1WString.html">WString</a></dt>
<dd>Added constructors that take a std::locale for interpreting a narrow
string in a given locale.</dd>
<dt><a href="classWt_1_1WWidget.html">WWidget</a></dt>
<dd>Added <a href="classWt_1_1WWidget.html#4f83592912a7f8fa4fd35dadde78ee74">setLayoutSizeAware()</a> and <a href="classWt_1_1WWidget.html#f432588db3d599f89b54121f2ede8d63">layoutSizeChanged()</a> methods which allow a widget to react to layout size changes.</dd>
<dt><a href="classWt_1_1Http_1_1Request.html">Http::Request</a></dt>
<dd>Added access to the request <a href="classWt_1_1Http_1_1Request.html#e76664f93462d9311ee671c93607e5ca">method()</a>.</dd>
<dt><a href="classWt_1_1Http_1_1Response.html">Http::Response</a></dt>
<dd>Added a <a href="classWt_1_1Http_1_1Response.html#7c14ba3ab34ff14461df3a4369118443">setStatus()</a> method to modify the response status.</dd>
<dt><a href="classWt_1_1Dbo_1_1Session.html">Dbo::Session</a></dt>
<dd>Added support for schema qualified tables, in
<a href="classWt_1_1Dbo_1_1Session.html#5886d450c052ae0ee15ab3c91e439229">Session::mapClass()</a> and the joinTable specified in <a href="group__dbo.html#g1a086b583fb150dbd4c5b4ba92bc177f">hasMany()</a>.<br />
Added API for dropping the schema: <a href="classWt_1_1Dbo_1_1Session.html#4c1fedb21e4e1cc44b182a34e8ebb4efdropTables()">dropTables()</a>. <br />
Added support for arbitrary queries in <a href="classWt_1_1Dbo_1_1Session.html#d39e953ef521eaa58c4c7e6ca1a6c19e">Session::query()</a>, including
queries that do not return result or do not select from tables.</dd>
<dt><a href="group__dbo.html#g8a2b653ff57f1459dfa2e556badd71d6">Dbo::field()</a></dt>
<dd>Allow size suggestion for std::string and WString mappings</dd>
<dt><a href="classWt_1_1Dbo_1_1SqlConnection.html">Dbo::SqlConnection, Dbo::SqlStatement</a></dt>
<dd>Added support for floating point types, binary data (using std::vector<unsigned char>) and date and date/time types.<br/>
Added methods for return dialect-specific information.<br/>
Added properties API.<br/>
</dd>
<dt><a href="structWt_1_1Dbo_1_1sql__value__traits.html">Dbo::sql_value_traits</a></dt>
<dd>Added support for backend-specific type mapping.</dd>
<dt>(internal) DomElement</dt>
<dd>Performance improvements in serializing the widgets to HTML
and/or JavaScript</dd>
<dt>Built-in httpd</dt>
<dd>Added a configuration option <tt>--max-request-size</tt> to
limit the size of a POST instead of the built-in default of 40
MB<br/> Added a configuration option
<tt>--max-memory-request-size</tt> to limit the size of a POST that
is handed in-memory. Bigger POSTs are handled using a spool file.
</dd>
</dl>
<hr />
<h2>Release 3.1.1 (February 17, 2010)</h2>
<p>The minimum boost version is now 1.36.</p>
<p>This release handles mostly bug fixes, with as most visible change
an update of the <i>polished</i> theme, which is now considered
complete.</p>
<h3>A) Security fixes:</h3>
Because of the following fixes for security problems, we recommend anyone
to upgrade live deployments of his application to the latest version.
<dl>
<dt>Possible XSS vulnerability</dt>
<dd>Fixed a possible XSS attack where a user follows a link to a Wt web
application, taking advantage of unchecked insertions of the URL when
redirecting to the canonical page.</dd>
<dt>Possible UTF-8 vulnerability</dt>
<dd>Form values and JSignal arguments received from the browser are
now checked for sane UTF-8 encoding.</dd>
</dl>
<h3>B) New classes:</h3>
<dl>
<dt><a href="classWt_1_1Dbo_1_1Dbo.html">Dbo/Dbo</a></dt>
<dd>An optional base class for a database object, providing access to its
id() and session().</dd>
</dl>
<h3>C) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1WCanvasPaintDevice.html">WCanvasPaintDevice</a></dt>
<dd>Now implements native text rendering on Firefox and latest
Chrome and Safari browsers</dd>
<dt><a href="classWt_1_1WInPlaceEdit.html">WInPlaceEdit</a></dt>
<dd>Added a setEmptyText() method which sets the text to be
displayed when value is empty.</dd>
<dt><a href="classWt_1_1WPopupMenu.html">WPopopMenu</a></dt>
<dd>Added an exec(WWidget *location, Orientation orientation) method which
popups the menu besides another widget.</dd>
<dt><a href="classWt_1_1WSuggestionPopup.html">WSuggestionPopup</a></dt>
<dd>This class is now also style by the CSS theme.</dd>
<dt><a href="classWt_1_1WTemplate.html">WTemplate</a></dt>
<dd>Avoids now rerendering of already bound widgets when the
template is rerendered.</dd>
<dt><a href="classWt_1_1WTree.html">WTree</a>,
<a href="classWt_1_1WTreeNode.html">WTreeNode</a>,
<a href="classWt_1_1WTreeTable.html">WTreeTable</a>,
<a href="classWt_1_1WTreeTableNode.html">WTreeTableNode</a>
</dt>
<dd>These widgets are now theme-aware, and tree decoration styling
is provided by the theme. The setImagePack() APIs are now
no-ops</dd>
<dt><a href="classWt_1_1WWidget.html">WWidget</a></dt>
<dd>Added positionAt() method which positions a widget (absolutely) besides
another widget.</dd>
<dt><a href="classWt_1_1Chart_1_1WAxis.html">Chart/WAxis></a></dt>
<dd>Added a setLabelFont() method.</dd>
<dt><a href="classWt_1_1Http_1_1Request.html">Http/Request</a></dt>
<dd>Added serverName(), serverPort(), path(), pathInfo(),
queryString(), urlScheme(), in(), contentType(), contentLength(),
userAgent() and clientAddress() methods which expose information
form the HTTP request to WResources.</dd>
</dl>
<h3>D) Build changes:</h3>
<dl>
<dt>XML_FEATURES</dt>
<dd>This CMake option has been removed, and Mini-XML has been
replaced by a modified RapidXML xml parser (mostly because of the
hard-to-interpret Mini-XML license), but there are also nice
performance improvements.</dd>
</dl>
<hr />
<h2>Release 3.1.0 (December 29, 2009)</h2>
<p>This release contains several new features and classes, after a long
period of stabilization that happened before the 3.0.0 release.</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1WAggregateProxyModel.html">WAggregateProxyModel</a></dt>
<dd>A model that provides support for drilling down through columns, supported
by WTreeView.</dd>
<dt><a href="classWt_1_1WCombinedLocalizedStrings.html">WCombinedLocalizedStrings</a></dt>
<dd>Combines different localized strings implementations.</dd>
<dt><a href="classWt_1_1WDateTime.html">WDateTime</a></dt>
<dd>Combines a calendar date (WDate) and a clock time (WTime).</dd>
<dt><a href="classWt_1_1WTemplate.html">WTemplate</a></dt>
<dd>Use an XHTML fragment as a template, with variables that are place
holders for strings or other widgets. See the blog example of how this
class can be used to simplify HTML/CSS based layout of widgets and
contents.</dd>
<dt><a href="classWt_1_1WTime.html">WTime</a></dt>
<dd>Represents a clock time (0-24 hours).</dd>
<dt><a href="group__dbo.html">Wt::Dbo</a></dt>
<dd>An Object Relational Mapping library. See the <a href="../../tutorial/dbo/tutorial.html">tutorial here</a>.</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
Most inline CSS styles have been pushed out to an external style
sheet, which may be themed. The "default" theme provides the old look,
while a new "polished" theme provides a less boring (?) look for
several widgets (work in progress). The theme can be set using <a
href="classWt_1_1WApplication.html">WApplication::setCssTheme()</a>.
As a result, you will need to deploy Wt's <tt>"resources/"</tt>
folder, which contains the themes in <tt>"resources/themes/"</tt>, for
all but the most trivial applications.
<dl>
<dt><a href="classWt_1_1Signal.html">Signal</a></dt>
<dd>Added a template connect() method which may be given any function
object, providing also support for the (future) c++1x lambda functions.</dd>
<dt><a href="classWt_1_1WCanvasDevice.html">WCanvasDevice</a></dt>
<dd>Several optimizations to output more concise JavaScript.</dd>
<dt><a href="classWt_1_1WPaintedWidget.html">WPaintedWidget</a></dt>
<dd>When width and/or height is not set using resize(), the widget
will now properly react to layout management when put into a layout
manager, triggering a server-side rerendering when needed.</dd>
<dt><a href="classWt_1_1WSlider.html">WSlider</a></dt>
<dd>A sliderMoved() signal was added which is fired whenever the slider is
moved (but not yet released).</dd>
<dt><a href="classWt_1_1WWidget.html">WWidget</a></dt>
<dd>Added a find() method which searches the widget hierachy for a widget
with a particular objectName().</dd>
<dt><a href="classWt_1_1WServer.html">WServer</a></dt>
<dd>Added an addResource() method to bind static resources to particular
URLs (i.e. resources that are not bound to a specific session).</dd>
<dt><a href="classWt_1_1Ext_1_1Container.html">Ext::Container</a></dt>
<dd>Will now properly react to layout management from a layout that
is set for a WContainerWidget.</dd>
<dt><a href="classWt_1_1Ext_1_1FormField.html">Ext::FormField</a></dt>
<dd>Added changed(), blurred() and focussed() signals.</dd>
<dt><a href="classWt_1_1Chart_1_1WAxis.html">Chart::WAxis</a></dt>
<dd>Added setAutoLimits() and autoLimits() methods to configure which limits
are to be determined based on the data, and which are explicitly set.</dd>
<dt><a href="classWt_1_1Chart_1_1WDataSeries.html">Chart::WDataSeries</a></dt>
<dd>Added the setHidden() and hidden() methods to enable or disable
a data series. Added setBarWidth() and barWidth() methods to set the
width of a bar (useful mostly for scatter plots). Added
setMarkerSize() and markerSize() methos.</dd>
<dt><a
href="classWt_1_1Chart_1_1WCartesianChart.html">Chart::WCartesianChart</a></dt>
<dd>Use MarkerPenColorRole and MarkerBrushColorRole to override
colors for makers on a per data point basis. Added mapFromDevice()
and mapToDevice() methods for mapping device coordinates to chart
coordinates and vice-versa</dd>
</dl>
<h3>C) API Changes:</h3>
<dl>
<dt><a href="classWt_1_1WSlider.html">WSlider</a></dt>
<dd>Not really an API change, but the vertical slider is now showing
the maximum value at its top side, not its bottom side.</dd>
<dt><a href="classWt_1_1Chart_1_1WAxis.html">Chart::WAxis</a></dt>
<dd>The minimum() and maximum() methods will now return the calculated
minimum and maximum value when they are to be automatically calculated based
on the data, configured using setAutoLimits()</dd>
</dl>
<h3>D) Build changes:</h3>
<dl>
<dt>XML_FEATURES</dt>
<dd>A new configuration option, XML_FEATURES, was added which allows the library to be built without MiniXML (and disabling fatures that require Mini-XML support). This configuration option is likely to be removed again in future versions.</dd>
<dt>Documentation</dt>
<dd>A <tt>doc</tt> directive was added, which uses doxygen and asciidoc tools
to generate the reference documentation and tutorial.</dd>
<dt>Tests</dt>
<dd>Automated tests were added for non-interactive functionality,
and are built by default.</dd>
</dl>
<hr />
<h2>Release 3.0.0 (November 3, 2009)</h2>
<p>
This release contains mostly bug fixes, build improvements and
documentation improvements compared to the latest pre-release
(2.99.5).
</p>
<p>
Most build improvements are related to finding the boost
libraries. Previously, Wt used a custom script, since CMake versions
< 2.6 did not provide a good enough script for finding
boost. Starting with this release, when using CMake 2.6 or later, Wt
will use the script that comes with CMake. You can still fall back to
the script that comes with Wt, which is still used for older versions
of CMake, by defining one of the BOOST_COMPILER or BOOST_VERSION
variables.
</p>
<h3>A) New classes:</h3>
<i>No new classes</i>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1WDialog.html">WDialog</a></dt>
<dd>It is now possible to have multiple modal dialogs, and nested
recursive event loops.</dd>
<dt><a href="classWt_1_1WWidget.html#e29fe35b633ec166f922419cd3ca9d96">
WWidget</a></dt>
<dd>The <samp>setDisabled()</samp> method moved up
from <samp>WFormWidget</samp> to <samp>WWidget</samp>.</dd>
<dt><a href="classWt_1_1JSlot.html#3d65b00a8015e556580527b52750ef87">
JSlot</a></dt>
<dd>The <samp>exec()</samp> method now passes object and event to the
JavaScript event handler.</dd>
</dl>
<h3>C) API Changes:</h3>
<dl>
<dt><a href="classWt_1_1WResource.html">WResource</a></dt>
<dd>The handling of changes to the resource has been sanitized. A
new method, <samp>setChanged()</samp> was added which must be called
to notify users of the resource that the resource was changed. In
addition to the existing <samp>generateUrl()</samp> which generates
a new URL, a method was added which merely returns the existing
URL: <samp>url()</samp>. With these improvements, a resource can
effictively be shared by many view widgets and updated with the
minimum of bandwidth usage.</dd>
</dl>
<hr />
<h2>Release 2.99.5 (September 1, 2009)</h2>
<p>
This release contains mostly bug fixes. The previous release (2.99.4)
contains some critical bugs that cause mayhem on IE, and a regression
with server push.
</p>
<hr />
<h2>Release 2.99.4 (August 27, 2009)</h2>
<p style="text-align: center">
<b>!! This release contains bugs that render it unusable on IE !!</b>
</p>
<p>
This release contains mostly bug fixes and back-end improvements. The
most exciting new feature is the addition of a new bootstrap method,
which implements progressive enhancements (starting with a plain HTML
page, and then upgrading it to an AJAX page if the browser has
support), see
also <a href="/wt/doc/reference/html/overview.html#progressive_bootstrap">the
documentation</a>.
</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1WTableView.html">WTableView</a></dt>
<dd>This is a simple MVC View class that renders tabular data
in the most straight forward way using an HTML table element
</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1Ext_1_1ToolBar.html#931b9b3e5d4cbbdee5394a841752c849">Ext::ToolBar</a></dt>
<dd>Added insert() methods.</dd>
<dt><a href="classWt_1_1WApplication.html#78016406c4746c56b2c2ffce7c5e181f">WApplication</a></dt>
<dd>Added an enableAjax() method which notifies the application that
a session is being enhanced with AJAX capabilities when using the
progressive bootstrap method.</dd>
<dt><a href="classWt_1_1WWidget.html#919a4eaf68ff52f06f6a726d55dfb768">WWidget</a></dt>
<dd>Added an enableAjax() method which enhanced the widget with AJAX
capabilities when using the progressive bootstrap method.</dd>
<dt><a href="classWt_1_WCssDecorationStyle.html">WCssDecorationStyle</a></dt>
<dd>Add support for custom cursors.</dd>
<dt><a href="classWt_1_WWServer.html">WServer</a></dt>
<dd>For FastCGI deployments, the proxy process which directs FastCGI
requests to the correct session process is now also
multi-threaded.</dd>
</dl>
<h3>C) API Changes:</h3>
<dl>
<dt>The <a href="classWt_1_1WApplication.html#4a6f167bea94aefa8ba24f914c2fbee5">WApplication::notify()</a> behavior changed.</dt>
<dd>Previously during a request, this method was called multiple
times during event propagation and rendering of the
application. Now, the method is called exactly once for each
request. In this way, it becomes a useful entry point to also manage
resource usage during (and inbetween) requests.</dd>
</dl>
<hr />
<h2>Release 2.99.3 (July 24, 2009)</h2>
<p>
This release contains mostly bug fixes and small feature
improvements. The most notable change that might affect existing
applications is a simplified internal path API behavior.
</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1WAbstractItemDelegate.html">WAbstractItemDelegate</a>
and <a href="classWt_1_1WItemDelegate.html">WItemDelegate</a></dt>
<dd><samp>WAbstractItemDelegate</samp> is a helper class used
by <samp>WTreeView</samp> (and in the future perhaps other view
classes) to render contents. The standard
implementation, <samp>WItemDelegate</samp> maintains the default
implementation that was previously integrated
in <samp>WTreeView</samp>. The delegate will be responsible for
editing features in <samp>WTreeView</samp> in the future, and in
fact, you can already implement a custom item delegate that does
editing if you cannot wait for it!
</dd>
<dt><a href="classWt_1_1Test_1_1WTestEnvironment.html">Test/WTestEnvironment</a></dt>
<dd><samp>WTestEnvironment</samp> is an environment class which is useful for
(unit) test-cases: it allows the instantiation of a
<samp>WApplication</samp> so that you may include widgets in unit tests.
</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<h3>C) API Changes:</h3>
<dl>
<dt>change of WApplication::internalPathChanged() semantics.</dt>
<dd>The old behavior was that a single internal path change caused
by the user (e.g. by moving forward/backword through his browser
history) would cause repetitive invocations of internalPathChanged()
with different arguments. The underlying idea was that this would
make it easier to have the handling of internal path changes
distributed over different objects. It caused however more problems
than it solved. The new behavior is now that it is invoked exactly
one time, and the argument is simply the new internal path.</dd>
</dl>
<hr />
<h2>Release 2.99.2 (May 29, 2009)</h2>
<p>
This release contains mostly build improvements, bug fixes, and API cleanups.
</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1Http_1_1Client.html">Http/Client</a></dt>
<dd><samp>Client</samp> is a utility class to bootstrap a new Wt
application.</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1Ext_1_1FormField.html">Ext::FormField</a></dt>
<dd>Add setFocus() method.</dd>
<dt><a href="classWt_1_1Ext_1_1ToolBar.html">Ext::ToolBar</a></dt>
<dd>Added an addStretch() method (contributed by David Galicia).</dd>
<dt><a href="classWt_1_1Http_1_1Response.html">Http::Response</a></dt>
<dd>Added a continuation() method.</dd>
<dt><a href="classWt_1_1WCheckBox.html">WCheckBox</a></dt>
<dd>Add support for tri-state checkboxes. These are also supported
by item models and WTreeView.</dd>
<dt><a href="classWt_1_1WWDialog.html">WDialog</a></dt>
<dd>Support for non-modal dialogs and interactive moving.</dd>
<dt><a href="classWt_1_1WFormWidget.html">WFormWidget</a></dt>
<dd>New methods setReadOnly() and isReadOnly().</dd>
<dt><a href="classWt_1_1WGridLayout.html">WGridLayout</a></dt>
<dd>Support a row stretch value of -1, which is like 0 but will still
manage the height of cells (allowing their contents to fill the entire
cell).</dd>
<dt><a href="classWt_1_1WPaintDevice.html">WPaintDevice</a></dt>
<dd>Support update rendering (not erasing the current canvas) using
paint flags.</dd>
</dl>
<h3>C) API Changes:</h3>
<dl>
<dt>WFileUpload::isUploaded() was deprecated</dt>
<dd>The name was not covering its actual behavior: instead of
checking whether a file has been uploaded, it returns whether true
when a call to upload() is not needed. You should replace any call
to isUploaded() with the new method
<a href="classWt_1_1WFileUpload.htm#66376fb4668a037760a91abad9f83f8al">!canUpload()</a> (<b>note the inversion!</b>.</dd>
</dl>
<hr />
<h2>Release 2.99.1 (Mar 20, 2009)</h2>
<p>
This release contains only build improvements, bug fixes, and API cleanups.
</p>
<hr />
<h2>Release 2.99.0 (Mar 4, 2009)</h2>
<p>
This release is a preview for Wt 3.0.0. Many things have changed both
in the internals and the API. This is the first release that provides
several API changes which are not backward compatible (some of which
were post-poned until now).
Please read the following notes carefully, especially sections C) and
D), to understand what changes to expect and how to adapt existing
applications.
</p>
<p>
Support for the C++ boost library < 1.35 has been dropped: Wt now
requires at least boost >= 1.35.0.
</p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1WFlags.html">WFlags</a></dt>
<dd><samp>WFlags</samp> is a utility class that provides a type-safe ORing of
enum flags. It is used everywhere in the Wt API where previously an
<samp>int</samp> was used to allow enums to be ORed together.</dd>
<dt><a href="classWt_1_1WGoogleMap.html">WGoogleMap</a></dt>
<dd>This is a widget, contributed by Richard Ulrich, that displays a
Google map.</dd>
<dt><a href="classWt_1_1Http_1_1Request.html">Http::Request</a>, <a href="classWt_1_1Http_1_1Response.html">Http::Response</a>, <a href="classWt_1_1Http_1_1ResponseContinuation.html">Http::ResponseContinuation</a> and <a href="classWt_1_1Http_1_1UploadedFile.html">Http::UploadedFile</a></dt>
<dd>These are utility classes which model an HTTP request and
response and that are used in the new <samp>WResource</samp> API.</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1WApplication.html#d9631ca64e68d30d40cb49c90e55223d">WApplication::enableUpdates()</a></dt>
<dd>Server-initiated updates (aka "server push") has been
reimplemented and now works reliably in all situations, including in
the presence of intermediate proxies. The dependency on the 3rd
party JS orbited library has been removed and replaced with a simple
XHR-based solution.</dd>
<dt><a href="classWt_1_1WButtonGroup.html">WButtonGroup</a></dt>
<dd>Various methods were added: id's may be associated with a specific
radio buttons, which may be used to identify a particular button.</dd>
<dt><a href="classWt_1_1WDatePicker.html">WDatePicker</a></dt>
<dd>Is now easier to use because of a sensible default constructor
that also creates the line edit using a <samp>WDateValidator</samp>,
and creates the icon which is associated with the popup.</dd>
<dt><a href="classWt_1_1WFileResource.html">WFileResource</a></dt>
<dd>Uses the continuation support in the new <samp>WResource</samp> API
to transmit the file in chunks.</dd>
<dt><a href="classWt_1_1WLength.html">WLength</a></dt>
<dd>WLength::Auto was added, is a synonym for WLength()</dd>
<dt><a href="classWt_1_1WSuggestionPopup.html">WSuggestionPopup</a></dt>
<dd>Is now also an MVC View widget, reading its data from a
<samp>WAbstractItemModel</samp></dd>
<dt><a href="classWt_1_1WTable.html">WTable</a></dt> <dd>New method
setHeaderCount() to specify the number of first rows or columns that
should be rendered as an HTML table header
(<samp><th></samp>).</dd>
<dt><a href="classWt_1_1WWidget.html">WWidget</a></dt>
<dd><p>New virtual method <samp>rerender()</samp> which allows a
widget to prepare itself before rendering (and defer internal
changes until that time). A widget may ask to be rerendered using
<samp>askRerender()</samp></p> <p><samp>Widget</samp> no longer
inherits from <samp>WResource</samp>, but instead inherits directly from
<samp>WObject</samp>. It was simply a bad idea, and not useful for
anything.</p></dd>
</dl>
<h3>C) Changes that break existing applications:</h3>
<dl>
<dt>1) Signals are no longer public members</dt>
<dd><p>Instead, they are now accessor member functions:
e.g. <samp>WInteractWidget::clicked</samp> has been renamed to
<samp>WInteractWidget::clicked()</samp>. This has as major benefit
that signals can be created on-demand, which leads to drastically
lower memory usage and signifcant speedups especially on embedded
systems.</p> <p>The change requires that everywhere in your code
where you access a signal, you will need to change to add
parentheses. For consistency, you may also want to
use the same convention for your own widget classes that define
signals.</p></dd>
<dt>2) <a href="classWt_1_1WResource.html">WResource</a></dt>
<dd><p>The API has been redesigned and greatly simplified. If you are
implementing your own resources, then you will need to redesign your
implementation. The new API is simpler (requires only one virtual
method to be implemented) and more powerful, providing support for
<i>continuations</i> to serve large resources without blocking a
thread or requiring large memory usage.</p>
<p>In addition, resources have better thread-safety: they are now by
default reentrant (requests for a single resource may be handled
concurrently) and they are protected from concurrently being
destroyed by the main event loop.</p></dd>
<dt>3) <a href="classWt_1_1WValidator.html">WValidator</a></dt>
<dd><p>The signature for the virtual <samp>validate()</samp> method was
changed: parameter <samp>pos</samp> which was ignored anyway has
been removed.</p></dd>
<dt>4) <a href="classWt_1_1WEnvironment.html">WEnvironment</a></dt>
<dd><p>The methods <samp>getArgument()</samp> and
<samp>arguments()</samp> were renamed to respectively
<samp>getParameter()</samp> and <samp>getParameterMap()</samp>. The
signature for <samp>getParameter()</samp> is also different as it
returns a pointer to a string, which is 0 when the parameter is not
defined, instead of the olde behaviour of throwing an
exception. There is a new method that allows to read all values for
a parameter, <samp>getParameterValues()</samp></p></dd>
<dt>5) <a href="classWt_1_1ModelIndex.html">WModelIndex</a></dt>
<dd><p>The 20-byte SHA1 hash based internal pointer has been removed
again as the object increase and overhead could not be justified.</p></dd>
</dl>
<h3>D) Deprecated API that was removed:</h3>
These are API calls that were deprecated in earlier releases, and have now
been completely removed from the library:
<dl>
<dt><samp>WApplication::applicationName()</samp></dt>
<dd>Use <a
href="classWt_1_1WApplication.html#ab6320ecdd0e8e4026e9ef1aca710ca5">
WApplication::internalPath()</a> instead.</dd>
<dt><samp>WApplication::setState()</samp></dt>
<dd>Use <a
href="classWt_1_1WApplication.html#2c1a10aadc0d7ed877b5715b42ca4911">WApplication::setInternalPath()</a>
instead.</dd>
<dt><samp>WApplication::state()</samp></dt>
<dd>Use <a
href="classWt_1_1WApplication.html#ab6320ecdd0e8e4026e9ef1aca710ca5">
WApplication::internalPath()</a> instead.</dd>
<dt><samp>WApplication::stateChanged</samp></dt>
<dd>Use <a
href="classWt_1_1WApplication.html#3e68c4b6bb387f27a614e7962e11967b">WApplication::internalPathChanged()</a>
instead.</dd>
<dt><samp>WRegExpValidator::WRegExpValidator(const boost::regex&)
</samp></dt>
<dd>Use the <a
href="classWt_1_1WRegExpValidator.html#7536b67e2bedd2dfdb5b89c9dd56602b">WRegExpValidator(const
WString&)</a> constructor instead.</dd>
<dt><samp>WPainterPath::drawArc(..., width, height, ...)</samp></dt>
<dd>An elliptical arc segment could not be support on all devices.</dd>
<dt><samp>WTable::numRows()</samp></dt>
<dd>Use <a href="classWt_1_1WTable.html#79d5dfe40ee5e67c5007ee370e8cd2f3">WTable::rowCount()</a>.</dd>
<dt><samp>WTable::numColumns()</samp></dt>
<dd>Use <a
href="classWt_1_1WTable.html#4d062330d1c9b3f202985b92dcb59d4f">WTable::columnCount()</a>
instead.</dd>
<dt><samp>WText::setFormatting()</samp> and
<samp>WText::formatting()</samp></dt>
<dd>Use <a href="classWt_1_1WText.html#f22c64c4c5fed3d2aef0915a7e5c5866">WText::setTextFormat()</a> and
<a href="classWt_1_1WText.html#c0976c36c5181a534f161ca3724d4296">WText::textFormat()</a> instead.</dd>
</dl>
<hr />
<h2>Release 2.2.3 (Jan 26, 2009)</h2>
<p>This release is a maintenance release, with mostly bug fixes and
feature improvements.</p>
<h3>A) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1WAbstractItemModel.html">WAbstractItemModel</a>:</dt>
<dd><samp>const char *</samp> data in <samp>boost::any</samp> is now
also supported.</dd>
<dt><a href="classWt_1_1WAbstractProxyModel.html">WAbstractProxyModel</a>:
</dt><dd>Implemented <samp>toRawIndex()</samp>
and <samp>fromRawIndex()</samp> so that indexes can be recovered
when the model's layout is changed, if the underlying model
provides implementations for <samp>toRawIndex()</samp>
and <samp>fromRawIndex()</samp>.</dd>
<dt><a href="classWt_1_1WComboBox.html">WComboBox</a>:</dt>
<dd>Also supports <samp>StyleClassRole</samp> data role for items</dd>
<dt><a href="classWt_1_1WDialog.html">WDialog</a>:</dt>
<dd>New method <samp>setTitleBarEnabled()</samp> to disable the default
title bar.</dd>
<dt><a href="classWt_1_1WMenu.html">WMenu</a>:</dt>
<dd>New method <samp>removeItem()</samp>, only works when rendered as a
list.</dd>
<dt><a href="classWt_1_1WTabWidget.html">WTabWidget</a>:</dt>
<dd>New method <samp>removeTab()</samp>.</dd>
<dt><a href="classWt_1_1WTreeView.html">WTreeView</a>:</dt>
<dd><ul>
<li>New method <samp>setColumn1Fixed()</samp> to fix the first
column while scrolling horizontally through the other columns.</li>
<li>New method <samp>setColumnFormat()</samp> to control formatting of
data.</li>
<li>New method <samp>setColumnBorder()</samp> to set the
internal column border color.</li>
<li>New method <samp>setColumnResizeEnabled()</samp> to disable resize
handles.</li>
<li>The view now also reacts correctly to insertion and
removal of model columns.</li>
</ul>
</dd>
</dl>
<h3>B) New examples</h3>
<dl>
<dt><a href="http://www.webtoolkit.eu/wt/examples/gitmodel/gitview.wt">
gitmodel:</a></dt>
<dd>An example that demonstrates how to implement a custom abstract
item model.</dd>
<dt><a href="http://www.webtoolkit.eu/wt/examples/treeview-dragdrop/treeview-dragdrop.wt">treeview-dragdrop</a>:</dt>
<dd>An example that demonstrates drag and drop support in WTreeView.</dd>
</dl>
<h3>C) Changes that break backward compatibility</h3>
<dl>
<dt><a href="classWt_1_1WApplication.html">WApplication</a>:</dt>
<dd><samp>useStyleSheet()</samp> only supports a subset of IE condition
strings, since the string is now parsed by Wt rather than by IE (when
dynamically loading stylesheets, the comment-syntax does not work
reliably).</dd>
</dl>
<hr />
<h2>Release 2.2.2 (Dec 1, 2008)</h2>
<p><i>As of now, we will also be listing noteworthy new API features,
even if they are no concern for backwards compatibility.</i></p>
<h3>A) New classes:</h3>
<dl>
<dt><a href="classWt_1_1WPopupMenu.html">WPopupMenu</a>,
<a href="classWt_1_1WPopupMenuItem.html">WPopupMenuItem</a>:</dt>
<dd>A popup menu, which you would typically use to present a
context menu.</dd>
<dt><a href="classWt_1_1WAbstractProxyModel.html">WAbstractProxyModel</a>,
<a href="classWt_1_1WSortFilterProxyModel.html">WSortFilterProxyModel</a>:</dt>
<dd>Proxy models, which present data from a source model in a
different way.</dd>
<dt><a href="classWt_1_1WLoadingIndicator.html">WLoadingIndicator</a>, <a href="classWt_1_1WDefaultLoadingIndicator.html">WDefaultLoadingIndicator</a>,
<a href="classWt_1_1WOverlayLoadingIndicator.html">WOverlayLoadingIndicator</a>:</dt>
<dd>Customizable loading indicators.</dd>
</dl>
<h3>B) Main new features in existing classes:</h3>
<dl>
<dt><a href="classWt_1_1WTreeView.html">WTreeView</a>, <a href="classWt_1_1WAbstractItemModel.html">WAbstractItemModel</a>:</dt>
<dd>The WAbstractItemModel interface was extended to allow handling
of drag & drop events, and WTreeView now is able to start
dragging and handle dropping of item selections and other data.</dd>
<dt><a href="classWt_1_1JSignal.html">JSignal</a>:</dt>
<dd>You can now pass the original (keyboard/mouse) JavaScript event
as a parameter to custom signals.</dd>
<dt><a href="classWt_1_1WTreeView.html">WTreeView</a>:</dt>
<dd>access mouse event in itemClicked, doubleClicked and
mouseWentDown signals.</dd>
<dt><a href="classWt_1_1WServer.html">WServer</a>:</dt>
<dd>Support for widget-set mode, allowing a Wt application to be
embedded in an existing web page/application.</dd>
</dl>
<h3>C) Changes that break backward compatibility</h3>
<p>This release does not contain changes that break existing
applications.</p>
<hr />